# Update to a new version ## When an update is out Shopify shows a message on the Endurance card in **Online Store → Themes** when a new version is available. Every update is free. 1. Select the update message, then **Add to draft themes**. **View release notes** shows what changed first. 2. Shopify adds **Updated copy of Endurance** under **Draft themes**, with your theme settings, sections, blocks, templates, app embeds and edited theme wording carried over. Your live store doesn't change. The card then says whether your code edits were included. 3. Open the copy with **Edit theme** and check your pages, especially the product page and any section you changed a lot. 4. Publish the copy. Keep the old version in **Draft themes** for a few days in case you need to compare. > Important: Shopify copies your code edits into the update when they don't clash with the new version. When they can't be included, the theme card says *code edits could not be included*. Save a copy of your edited files before you update. Changes in the editor, in templates and in `settings_data.json` don't count as code edits; they always carry over. If you edited code, write down what you changed, check those parts on the updated copy and redo any that are missing, or ask the person who made them. See [Custom code](page:custom-code). ## No update message? The message only appears for a copy of Endurance added from the Theme Store. If you uploaded Endurance from a file, or the message doesn't show: 1. Duplicate your current theme as a backup (**⋯ → Duplicate**). 2. Add the latest Endurance from the Theme Store. It arrives under **Draft themes**. 3. In your current theme, open **⋯ → Edit code** and copy these files into the same places in the new copy, one file at a time (open the file, select all, copy, paste into the same file in the new copy, save): - every file in **templates** that you changed, and the templates you created yourself; - the three section group files in **sections**: `header-group.json` (announcement bar and header), `footer-group.json` (footer) and `overlay-group.json` (pop-ups, tab bar and the other overlays); - `config/settings_data.json` (theme settings). Copy only these `.json` files. Never copy the `.liquid`, `.css` or `.js` files from the old theme: they are the old version's code and would undo the update. 4. Redo your own code edits. 5. Check your apps. App blocks and app embeds turned on in the editor carry over with `settings_data.json`, the templates and the section group files. An app that added its own code to the old theme's files needs to be added again: open the app's settings, or ask its developer whether reinstalling it is enough. 6. Check the pages: the header, footer and pop-ups as well as each template. Then publish. ## What changed Every version is listed in the [changelog](page:changelog), with the fixes and new features in it. ## Which version do I have? In **Online Store → Themes**, select **⋯** on the Endurance card: the menu shows the version, for example **Version 1.0.0**. When an update is waiting, the update message shows instead. Include the version when you [contact support](support:).