> 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_drugs/how-to-update.md).

# How to Update

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

{% stepper %}
{% step %}

### Make a backup

Back up these folders from your `resources` folder:

* `rcore_drugs_assets`
* `rcore_drugs`

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

{% step %}

### Download the latest version

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

{% step %}

### Replace resource files

Replace the old resource folders with the new ones.

Keep your custom `config.lua`, `config/locations.lua`, and locale files only after checking them against the new version.
{% endstep %}

{% step %}

### Review configuration changes

Compare your old `config.lua` with the new one. Add any new options that were introduced in the update.

Most labs, stations, dealers, suppliers, harvests, upgrades, actions, and consumables are stored in the database and managed through `/drugs_admin`.
{% endstep %}
{% endstepper %}


---

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

```
GET https://documentation.rcore.cz/paid-resources/rcore_drugs/how-to-update.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.
