# Update Megamog theme All customization and third-party app snippets will not be kept in the new updated version. Kindly check the customization code and move it to the new updated version accordingly. For app integration, we suggest you contact the app providers to assist you with installing the apps. ## How to update Megamog theme automatically We highly suggest you use [FoxHome](https://docs.foxecom.com/megamog-theme/getting-started/foxhome) - the smart theme manager by FoxEcom to install Megamog theme easily with 1-click. **Steps**: 1. In your [FoxHome](https://home.foxecom.com/) dashboard, click **Manage themes**. 2. In the **Out of dated themes list**, locate the Megamog theme you want to update and click **Update**. *If you can't find your theme from the list, select **Update unlisted themes**.* 3. Click **Update now**. ![image](https://docs-assets.foxecom.app/megamog-theme/image_717EZbbR.png) FoxHome will duplicate your current theme and update it. The updated version will be added to your **Theme library**. ### What files are kept and what are not when updating the theme automatically **Files will remain after updating:** * All sections (including sections that merchants added) * config/settings\_data.json * snippets/custom-code-head.liquid * snippets/custom-code-body.liquid * assets/custom.css.liquid -templates/\*.son (all json data with OS 2.0) * Assets that you've added (not including JS and CSS) * Alternate template and liquid template * All locale files (including new local and editing ones) **Files will not be carried out after updating:** * theme.liquid snippets * Any files created by a 3rd-party app or customized codes from merchants/dev teams. ## How to update Megamog theme manually ### Create a backup of your current theme Duplicate your work before attempting any theme update. If errors are encountered, you can use the duplicated (backup) version to restore to the original function and styling. **Steps** 1. In your Shopify admin > **Online store**, click **Actions**. 2. Select **Duplicate**. 3. Rename the copied file. ### Get the latest Megamog version Check and download the latest version of Megamog from your Account on [FoxEcom website](https://foxecom.com/?utm_source=foxecom\&utm_medium=help_center_megamog_update_megamog_theme\&utm_campaign=anchor_text\&utm_term=foxecom_website). ### Upload the new version to your Shopify store Once you have the theme file ready, you can upload it to your Shopify store. **Steps:** 1. From your Shopify dashboard, go to **Online Store**. 2. In the **Theme library**, select **Add theme** > **Upload zip file.** 3. In the Upload theme modal, click **Add file** and select the file you want to upload. 4. Click **Upload file**. ![image](https://docs-assets.foxecom.app/megamog-theme/image_l9953G0f.png) ### Move the theme configuration Follow the steps below to move the theme configuration to your updated version. **Steps:** 1. Locate your old theme > select **Actions** > **Edit code.** 2. Open the file **Config/settings\_data.json** & copy the entire code on this file. 3. Paste the copied content into the same file of the updated theme version. ![image](https://docs-assets.foxecom.app/megamog-theme/image_y2lACs3G.png) 4\. Do the same with the **Templates/index.json** file. Copy the entire code from the old theme and migrate it to the updated one. ![image](https://docs-assets.foxecom.app/megamog-theme/image_rf9t9Qrg.png) ### Move the translation file If your store has multilingual languages and you configured the translation files, follow the steps below. **Steps:** 1. Locate your old theme > select **Actions** > **Edit code.** 2. Find the **Locales** folder, select the language you want to use, and copy the translation file. 3. In your new version, go to **Actions** > **Edit code** and **Add a new locale** with the language you've copied. 4. Paste the content to your new file. ![image](https://docs-assets.foxecom.app/megamog-theme/image_GUvR88zS.png) ### Move your pages **Steps:** 1. Locate your old theme > select **Actions** > **Edit code.** 2. In the **Templates** folder, copy the **.json** files with **a green dot** and move them to the new updated theme. Tip: Files with the green dot are the files you have changed. ![image](https://docs-assets.foxecom.app/megamog-theme/image_yPAyHayF.png)