> For the complete documentation index, see [llms.txt](https://nghiaxchis.gitbook.io/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nghiaxchis.gitbook.io/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/change-log/update-theme.md).

# Update theme?

### 1 - Check the change log:

**You can see your website consists of 3 main parts:**

1. The **Ncmaz-faust-core** plugin
2. Other 3rd party **plugins** (WPgraphql, Faust, ACF, etc.)
3. The frontend site is a Nextjs project: **Ncmaz-faust**

As you can see in the download package from Themeforest you will get the **ncmaz-faust-core.zip** plugin file, and the **Ncmaz-faust** folder is the Nextjs project for the frontend.&#x20;

So you only need to care to update those two things for your website every time you receive a notification that a new [update has been released](/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/change-log/change-log.md).&#x20;

However, new updates do not always include updates to both of those things. Sometimes in the new update, there are only updates about the NextJS project for the frontend (**Ncmaz-faust**), sometimes in the new update there are only updates about the **ncmaz-faust-core** plugin for WordPress. So you need to preview the [change log](/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/change-log/change-log.md) to know which parts need to be updated, I'll make it clear in the [change log](/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/change-log/change-log.md) and you'll be able to easily tell.

### 2 - So here's how to update:

1. If you need to update the **ncmaz-faust-core** plugin: \
   \
   Check the **ncmaz-faust-core.zip** plugin file located inside the wp-plugin folder of your download. Then upload it to your WordPress and update the replacement for the current Ncmaz-faust-core plugin in your WordPress. :ok\_hand:<br>

   <figure><img src="/files/rRqSww7spDFZQjQviX1x" alt=""><figcaption><p><br></p></figcaption></figure>
2. If you need to update the NextJs **Ncmaz-faust** project for the frontend site:<br>

   1. Check to see if there are any additional environment variables in the new update. You can also find all the necessary environmental variables in the `.env.local.example` file and compare them in your project. If so add it to your project settings. - [Vercel Environment Variables](https://vercel.com/docs/projects/environment-variables)
   2. Note that in the new update, the `site-settings.json` file may have many changes. You should merge your old `site-settings.json` file into the new `site-settings.json` file included in the update.
   3. If possible, you should test it on localhost to check for sure before deploying to hosting (use your environment variables and check [this documentation](/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/development-on-localhost/run-on-localhost.md))
   4. Then just **redeploy** to your hosting frontend ([please check this documentation](/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/getting-started-setup/step-5.-deploying-the-ncmaz-faust-to-vercel.md)).

   <br>
