> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateProject

> Replace an ABBYY FlexiCapture project with a new version in the deployment environment using the UpdateProject command in FCAdminTools, including data sets.

In an enterprise setting, changes made to a project are first implemented in a test environment. Once tested, they need to be transferred to the deployment environments. You can use the `UpdateProject` command to replace an existing project with its new version in the deployment environment.

1. FCAdminTools will rename the processing stages in projects whose language differs from the language of FCAdminTools. You can prevent this by specifying the appropriate language in the Windows registry. For more information, see [this section](/flexi-capture/admin-guide/projects-administration).
2. Using the `UpdateProject` command will update your entire project, including its Document Definitions and import profiles. To only update the Document Definitions, use the [CopyDocumentDefinition](/flexi-capture/admin-guide/copy-document-definition) command.

## Parameters

| Parameter                     | Type     | Description                                                                                                                                                                                                                                                                            |
| :---------------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `/Source`                     | Required | The full path to the source project. If the project is located on a server, the path should contain the tenant ID.                                                                                                                                                                     |
| `/Target`                     | Required | The full path to the target project. If the project is located on a server, the path should contain the tenant ID.                                                                                                                                                                     |
| `/SourceTenant`               | Optional | The tenant with the source project.                                                                                                                                                                                                                                                    |
| `/TargetTenant`               | Optional | The tenant with the target project.                                                                                                                                                                                                                                                    |
| `/UpdateDataSets`             | Flag     | By default, no data sets are copied into the target project. To copy data sets, specify this switch. If the Document Definition in the source project is newer than the Document Definition in the target project, the data sets are updated irrespective of the value of this switch. |
| `/UpdateEnvironmentVariables` | Flag     | By default, no environment variables are copied to the target project. To copy environment variables, specify this switch.                                                                                                                                                             |
| `/SourceU`                    | Optional | User name. If no user name is specified, Windows authentication is used.                                                                                                                                                                                                               |
| `/SourceP`                    | Optional | Password.                                                                                                                                                                                                                                                                              |
| `/SourceCert`                 | Optional | Certificate thumbprint used for mutual SSL authentication on the server of the source project. This key is used to pass an encoded certificate hash for a server with Mutual SSL installed as a string.                                                                                |
| `/TargetU`                    | Optional | User name. If no user name is specified, Windows authentication is used.                                                                                                                                                                                                               |
| `/TargetP`                    | Optional | Password.                                                                                                                                                                                                                                                                              |
| `/TargetCert`                 | Optional | Certificate thumbprint used for mutual SSL authentication on the server of the target project. This key is used to pass an encoded certificate hash for a server with Mutual SSL installed as a string.                                                                                |

## Example of use

* `UpdateProject /Source="https://FCStage/1/Banking_eng" /Target="https://FCProd/1/Banking_eng"`
