# Submodule Configuration Updates

`Submodule Updater: X has a new configuration version`: This means one of your submodules has been updated, but there is a newer configuration file available with additional properties. To resolve, we need to manually migrate the configuration file for the submodule.

## 1. Open the Configuration Files

In the `\sonorancad\configuration`directory, there will be two configuration files for the updated submodule:

* NEW: `{submoduleName}_config.dist.lua`
* OLD: `{submoduleName}_config.lua`

<div><figure><img src="/files/axO9Gs6N2W0GyUQB34O7" alt="" width="375"><figcaption><p>New WraithV2 Configuration File</p></figcaption></figure> <figure><img src="/files/DvBmVlDgwBHxZvhrFrDq" alt="" width="375"><figcaption><p>Old WraithV2 Configuration File</p></figcaption></figure></div>

## 2. Compare the Config Files

Note the differences in the file. In this example:

* The `configVersion` is `1.5`on our current file but is `1.6`on the newly downloaded one.
* Additionally we are missing the entire `notificationTimers` section in our current config file.

<figure><img src="/files/HbnhcfrBaSmvgPwGgtY2" alt="" width="563"><figcaption><p>SonoranCAD - WraithV2 Configuration Differences</p></figcaption></figure>

## 3. Migrate the Configuration Values

### Method 1 (Recommended) - Overwrite Old Configuration File

* Simply copy and paste the entire contents of your **new** config file into your **existing** config file and make any needed configuration changes.
* Save the file and restart the resource

### Method 2 (Not Recommended) - Manually Add Changes

* Note down the changes in the **new configuration file** and add any missing properties to your **existing** configuration file.
* Ensure you change the version number to the correct version from the **new** file.
* Save your **existing** file and restart the resource


---

# Agent Instructions: 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://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/submodule-configuration/submodule-configuration-updates.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.
