> ## Documentation Index
> Fetch the complete documentation index at: https://docs.go.gbgplc.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to update modules in GBG GO

> Apply the latest module versions to your journeys in GBG GO and publish updates from Preview to Production.

When module versions are updated in the platform, journeys that use those modules need to be updated to use the latest versions. The **Update Modules** action applies the latest module versions to a journey's Preview environment.

<Note>
  If you have unpublished changes in Preview, publish them first. Unpublished changes are lost during the update process.
</Note>

## Update modules in Preview

1. Open the journey that contains the modules you want to update.
2. Click **Dashboard** in the left sidebar. In the Environments table, locate the Preview row.
3. Click the **Actions** list on the Preview row.
4. Select **Update Modules**. A confirmation dialog is displayed.
5. Click **Apply updates**.

After the update completes, one of the following messages is displayed:

| Message                      | Description                                                              |
| ---------------------------- | ------------------------------------------------------------------------ |
| Modules updated successfully | The latest module versions have been applied to the Preview environment. |
| No modules to update         | All modules are already up to date.                                      |

The Preview environment automatically refreshes to reflect the changes.
