> For the complete documentation index, see [llms.txt](https://docs.manifold.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.manifold.xyz/manifold-for-developers/shopify-merch-bridge/reference/updating-to-the-latest-version.md).

# Updating to the Latest Version

To update to the latest version of the Manifold Merch Bridge, you will need to modify two files.

## snippets/manifold-campaign-widget.liquid

Update the `<script>` and `<link>` tags to reference the latest widget versions of the [Connect Widget](/manifold-for-developers/resources/widgets/connect-widget.md) and [Campaign Widget](/manifold-for-developers/resources/widgets/campaign-widget.md).

{% hint style="warning" %}
If this file contains:

```html
<div data-widget="m-oauth-connect" ...></div>
```

please replace that with:

```html
<div data-widget="m-connect" data-multi="true" data-detect-app="true"></div>
```

and modify the #m-connection CSS to read

```css
#m-connection {
  display: block !important;
  width: 100% !important;
}
```

{% endhint %}

## snippets/manifold-checkout-widget.liquid

Update the `<script>` and `<link>` tags to reference the latest widget versions of the [Connect Widget](/manifold-for-developers/resources/widgets/connect-widget.md) and [Campaign Widget](/manifold-for-developers/resources/widgets/campaign-widget.md).

{% hint style="warning" %}
If this file contains:

```html
<div data-widget="m-oauth-connect" ...></div>
```

please replace that with:

```html
<div data-widget="m-connect" data-multi="true" data-detect-app="true"></div>
```

and modify the #m-connection CSS to read

```css
#m-connection {
  display: block !important;
  width: 100% !important;
}
```

{% endhint %}
