# Updating to new releases

Before you start, make sure your project is backed up, ideally in a version control system such as Git. You also need to check that the Magento and Scandi versions you are updating to are [compatible](https://manual.scandipwa.com/pwa/magento-version-mapping) with each other.

## Update Create ScandiPWA App

Sometimes, we release new features of our toolchain, like a new way to write plugins, or some patches to support newer OS versions. To upgrade the toolhain, use this guide:

{% content-ref url="/pages/-MV0PXvo5UYb1Ij7LKNd" %}
[CSA upgrade](/getting-started-1/updating-scandipwa/csa-upgrade.md)
{% endcontent-ref %}

## Update in ScandiPWA Storefront mode

To upgrade the ScandiPWA in Storefront mode, you must upgrade the theme and the remote server composer.json. To learn how to do it, follow the guide:

{% content-ref url="/pages/-MUxW5d\_bCOq1\_Inrj1D" %}
[Storefront Mode Setup](/getting-started-1/storefront-mode.md)
{% endcontent-ref %}

## Update in ScandiPWA Magento theme mode

Upgrade ScandiPWA which is installed as a Magento 2 theme.

{% content-ref url="/pages/-MV0PPaNOJ\_h0e\_lD-m\_" %}
[Magento mode upgrade](/getting-started-1/updating-scandipwa/magento-mode-upgrade.md)
{% endcontent-ref %}

## Update in ScandiPWA Storefront mode

Upgrade ScandiPWA which is installed as a Storefront, upgrade it's dependencies on remote Magento 2 server.

{% content-ref url="/pages/-MUxW5d\_bCOq1\_Inrj1D" %}
[Storefront Mode Setup](/getting-started-1/storefront-mode.md)
{% endcontent-ref %}


---

# Agent Instructions: 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:

```
GET https://docs.scandipwa.com/getting-started-1/updating-scandipwa.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
