> For the complete documentation index, see [llms.txt](https://elessi-docs.nasatheme.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://elessi-docs.nasatheme.com/getting-started/updates/update-theme.md).

# Update Theme

There are two methods to update your theme: the Envato Market Plugin update method and the traditional method that involves more steps via WordPress or via FTP:

* [<mark style="color:blue;">**Method 1: Automatic Updates**</mark>](/getting-started/updates/update-theme/automatic-updates.md)
* [<mark style="color:blue;">**Method 2: Manual Update**</mark>](/getting-started/updates/update-theme/manual-update.md)

<mark style="color:red;">**Important**</mark><mark style="color:orange;">**:**</mark> After updating the theme, all your content such as pages, options, images and posts will not be lost or erased by doing this. However, any customizations to the theme’s core files, such as PHP files, language files will be lost. So you need to use the child theme to customize the theme and backup the lang file if you translated the theme.

{% hint style="info" %}

### Best practice & important notes <a href="#best-practice-important-notes" id="best-practice-important-notes"></a>

* **Create a backup:** whenever you update it’s always a good idea to make sure that you have a current backup of your website and database. There are several plugins available that completely automate that process. You can also ask your host to perform a free backup for you.
* **Save Theme Options:** after the update Save your Theme Options in order to recreate the dynamic CSS file with settings like custom colors and fonts.
* **Clear cache:** it is always recommended to reset your browser, possible cache plugins, and server cache when you update. Possible visual issues may occur after an update if you have old files cached, this is something easily avoided by clearing your cache after all updates.
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://elessi-docs.nasatheme.com/getting-started/updates/update-theme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
