# How to Update

### Overview

**What you’ll do:**

1. Download the latest Drako Bot files
2. Remove all old files and folders (except `config` and `addon`)
3. Copy in the new files and folders

{% hint style="success" %}
&#x20;**Note:** Your `config` will automatically update when you start Drako Bot with the new version.
{% endhint %}

***

### Before You Start

* Make a quick backup of your bot folder, just in case:
  * Copy the entire bot folder to another location, or
  * At least back up the `config` and `addon` folders.

***

### Step 1 — Download the Latest Files

1. [Download](https://builtbybit.com/resources/drako-bot-multi-purpose-discord-bot.22266/) the latest release of Drako Bot.
2. Extract the downloaded archive to a temporary folder on your desktop.

***

### Step 2 — Delete Old Files (Keep `config` & `addon`)

Navigate to your existing **Drako Bot** folder.

1. **Delete all old files and folders** in the bot’s directory
2. **Do NOT delete:**
   * `config` folder
   * `addon` folder

{% hint style="danger" %}
**Important:** Double-check you did not delete `config` or `addon`. Those contain your settings and extra functionality.
{% endhint %}

***

### Step 3 — Add the New Files

1. Open the folder where you extracted the **latest Drako Bot** files (from Step 1).
2. Select **all** of the new files and folders.
3. Copy them into your existing Drako Bot directory (the one that still has `config` and `addon`).

{% hint style="danger" %}
**Important:** Make sure that you do not `overwrite` the `config` & addon folder
{% endhint %}

***

### Step 4 - Start the bot

1. Apon starting the bot, your config will automatically update
2. Node packages may need to be reinstalled. Run `npm install` to install the latest packages
