# 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="https://232668649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4pGN81fb4R6zFhodcu%2Fuploads%2Fx6LTZqttnPFTYOya6lTh%2Fimage.png?alt=media&#x26;token=c1012930-c06b-4108-b0d7-bf2dabc246f2" alt="" width="375"><figcaption><p>New WraithV2 Configuration File</p></figcaption></figure> <figure><img src="https://232668649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4pGN81fb4R6zFhodcu%2Fuploads%2FB9wyVod1oX2bbSECSm2t%2Fimage.png?alt=media&#x26;token=4b0e4e1e-55db-4845-bed4-72ed0e963aee" 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="https://232668649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4pGN81fb4R6zFhodcu%2Fuploads%2Fo8i4gowDWHFFMXMIbyDl%2Fimage.png?alt=media&#x26;token=066ff582-d81c-4683-82e6-07d3f372bc9b" 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
