> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_mdt/how-to-update.md).

# How to Update

Use this guide when updating `rcore_mdt` to a newer version.

{% stepper %}
{% step %}

### Make a backup

Back up the `rcore_mdt` folder from your `resources` folder.

Also back up your database before updating.
{% endstep %}

{% step %}

### Download the latest version

Download the latest `rcore_mdt` files from [CFX Portal](https://portal.cfx.re/assets/granted-assets).
{% endstep %}

{% step %}

### Replace resource files

Replace the old resource folder with the new one.

Keep your custom files from `configs/` and `locales/` only after checking them against the new version.
{% endstep %}

{% step %}

### Review configuration changes

Compare your old config files with the new ones and add any options introduced in the update:

* `configs/sh_config.lua`
* `configs/cl_config.lua`
* `configs/sv_config.lua`

If you added your own language file, compare it with the new `locales/en.lua` and add any new keys.
{% endstep %}

{% step %}

### Start the server

Database changes are applied automatically when the resource starts. Your incidents, records, case files, and other data are kept.
{% endstep %}
{% endstepper %}
