---
title: "Upgrade the existing tenants"
slug: "upgrade-the-existing-tenants"
abstract: "How to upgrade tenants you can created with previous versions of the connector."
---
# Upgrade the existing tenants

You can upgrade the tenants you have created with previous versions of the connector.

To upgrade a tenant:

1. In the Content editor, navigate to the `{tenant-to-upgrade}/Pipelines/Dynamics Marketing Lists to xConnect Sync Pipelines/Read Marketing Lists from Dynamics Pipeline/` folder.
2. From the **Insert** menu, use the `/sitecore/templates/Data Exchange/Providers/SQL/Pipeline Steps/Cleanup Staging Data` template to create a new item. Name it *Cleanup Staging Data*.
3. In the *Cleanup Staging Data* item, in the **Endpoint From** field, select the staging database endpoint. For example:

    ![Cleanup data staging pipeline](<https://doc.sitecore.com/api/markdown-image/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/images/Specify%20Endpoint%20From.png>)

4. Save the item.