---
description: >-
  Have you accidentally published a new version of your bot that contains a
  mistake? You can fix this by rolling back to a previous LIVE version of your
  bot.
---

# Versions

{% hint style="info" %}
Learn more about LIVE and DRAFT environments [here](../../publish/publishing-your-bot).
{% endhint %}

To go back to a previous LIVE version of your bot:

1. Open your bot and go to the "Publish" menu.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FjI6RyTNdCb8A83CmQADr%2Fimage.png?alt=media&#x26;token=2c07221d-7c7a-45a0-b3e7-770b8e4d6460" alt=""><figcaption></figcaption></figure>

2. On the right hand side you can see all the LIVE versions you have published in the past.

{% hint style="info" %}
Need a refresher on what versions are and how they're used? Read more [here](../../publish/publishing-your-bot).
{% endhint %}

If you want to restore an older version, simply click the restore button on that version; the window below will be shown:

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2F25M9qZ58msWWdsE1tOEw%2Fimage.png?alt=media&#x26;token=c4c60d2f-f777-49cf-ab7c-666587f79e36" alt=""><figcaption></figcaption></figure>

3. You can choose if you either want to:

* make this older version of the bot the new LIVE version that your users will talk to. This will not affect the current DRAFT version.
* load the older version into your DRAFT version, so you can continue working on it. This will not affect the current LIVE version.

{% hint style="warning" %}
Restoring a version to DRAFT means overwriting your current DRAFT version. This cannot be undone.
{% endhint %}

Restoring your bot will:

* Revert the NLP model to the specific version, to ensure a working NLP model.
* Refresh the application so the right version of the blocks & NLP model is displayed to users.
* Not affect the conversation history, analytics & train tab.
