---
title: "Upgrading from Sitecore XP 9.2.0 or earlier"
slug: "upgrading-from-sitecore-xp-9-2-0-or-earlier"
abstract: ""
---
# Upgrading from Sitecore XP 9.2.0 or earlier

> [!important]
> If you are upgrading from Sitecore XP 9.2.0 or earlier, you must perform the steps in this section.

## Remove deprecated Path Analyzer maps from the *Reporting* database

In Sitecore XP 9.3.0, the *First Visits* and *Returning Visits* maps were removed from the *Global* and the *Site* maps.

After the upgrade, the tree definitions for these maps are still present in the *Reporting* database and Sitecore XP continues to needlessly aggregate data for these definitions.

- To delete the tree definitions of the maps that have been removed, run the following query:

    ```

    DELETE FROM [dbo].[TreeDefinitions]
    WHERE DefinitionID IN
    ('E049AD86-D98B-4639-A450-77D1B294A270','D57B53BE-CD98-4EC4-9767-C99F8A72EC0A',
    'F2C21FD3-22C5-4F32-92AC-443984D06FC7','4118EA73-7CEE-4FBC-AECE-5693171744C7')
    ```

## Customize the MarketingDefinitionAliasValidationRegex application setting

If you customized the alias validation expression, you must also apply the same customized expression to the `MarketingDefinitionAliasValidationRegex` application setting of both the CMS and xConnect websites after the upgrade:

```xml
<appSettings>
  <add key="MarketingDefinitionAliasValidationRegex" value="^[a-zA-Z0-9_\-\x20]*$" />
</appSettings>

```

For more information about this step, see the section [Validate the marketing definition names](https://doc.sitecore.com/xp/en/developers/105/guides/upgrade-guide-for-sitecore-experience-platform-1050/validate-the-marketing-definition-names.html "Validate the marketing definition names").