# Update Theme

## 1. Download the latest version

{% hint style="success" %}

1. Backup your current theme by selecting **Actions > Duplicate** (recommended)
2. Download the latest version&#x20;
3. Install the latest version and **Publish**
   {% endhint %}

<figure><img src="https://3949671186-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fou66zlGuL81AP7Hl5Ehv%2Fuploads%2FHUu1KmQVsPh8Ze6D5Mwt%2Fss_dup.png?alt=media&#x26;token=0b0ccd54-9f4b-45e2-bc78-394a4e08dc91" alt=""><figcaption></figcaption></figure>

## 2. Upgrade Theme

{% hint style="danger" %}

* Regarding the app you have installed, you may need to reinstall them. We recommend that you contact the app provider for support as we cannot handle the code of the app.
* If you want to use the latest theme and bring the data from the old version to the new version, here's how you can do it.
* Themes don't update automatically, you need to do it manually
  {% endhint %}

<figure><img src="https://3949671186-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fou66zlGuL81AP7Hl5Ehv%2Fuploads%2FpWyRiggr2BY30q4XJfE1%2Fss_oldnew.png?alt=media&#x26;token=fae99a25-37cd-44a5-b192-8ae8c5c123fd" alt=""><figcaption></figcaption></figure>

* **Migrate file settings\_data.json**

{% hint style="success" %}

1. Open the old theme. Click **Theme actions -> Edit code -> Open settings\_data.json file -> Copy the entire code on this file.** Then paste it into the same file of the new theme.
2. Click **Save** to finish.
   {% endhint %}

<figure><img src="https://content.gitbook.com/content/ou66zlGuL81AP7Hl5Ehv/blobs/JTwYXqACa5Fst8v2ZQqP/image.png" alt=""><figcaption><p>Copy the entire code on this file</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/ou66zlGuL81AP7Hl5Ehv/blobs/YIR3uwgpzyakiqobS1Ay/image.png" alt=""><figcaption><p>Then paste it into the same file</p></figcaption></figure>

* **Migrate file Index.json**

{% hint style="success" %}

1. Open the old theme. Click **Theme actions -> Edit code -> Open index.json file -> Copy the entire code on this file.** Then paste it into the same file of the new theme.
2. Click **Save** to finish.
   {% endhint %}

<figure><img src="https://content.gitbook.com/content/ou66zlGuL81AP7Hl5Ehv/blobs/kStrMJqv9c1I3XzR5yGG/image.png" alt=""><figcaption><p>Copy the entire code on this file</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/ou66zlGuL81AP7Hl5Ehv/blobs/Ey1pslHpgV25SKDq8uId/image.png" alt=""><figcaption><p>Then paste it into the same file</p></figcaption></figure>

{% hint style="info" %}
You can do the same as you did with list files

**product.json**

**collection.json**
{% endhint %}
