> ## 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.

# UpdateAssembly

> Update an external assembly across ABBYY FlexiCapture project settings, batch types, and Document Definitions with the UpdateAssembly command in FCAdminTools.

Some script stages and rules can use external libraries, which will need to be kept up to date. When editing assembly code used for customizing projects, you may need to update a particular assembly in all projects. You can use the `UpdateAssembly` command to update assemblies in project settings, batch types, and Document Definitions. This command can be used for a single project or for all the projects on a server at once.

## Parameters

| Parameter             | Type     | Description                                                                                                                                                                                                                                                                   |
| :-------------------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `/AssemblyPath`       | Required | The path to the assembly. Only assemblies whose full name matches the specified name are updated.                                                                                                                                                                             |
| `/Project`            | Optional | Specifies a project. You can specify the full path to a local project, the path to a project on a server, or the name of a project on a server (the `/Server` parameter must be specified). If no project is specified, the command processes all the projects on the server. |
| `/Server`             | Optional | Server address.                                                                                                                                                                                                                                                               |
| `/Tenant`             | Optional | Tenant name.                                                                                                                                                                                                                                                                  |
| `/U`                  | Optional | User name. If no user name is specified, Windows authentication is used.                                                                                                                                                                                                      |
| `/P`                  | Optional | Password.                                                                                                                                                                                                                                                                     |
| `/Cert`               | Optional | Certificate thumbprint used for mutual SSL authentication. This key is used to pass an encoded certificate hash for a server with Mutual SSL installed as a string.                                                                                                           |
| `/DocumentDefinition` | Optional | The name of the Document Definition containing the assembly that needs to be updated.                                                                                                                                                                                         |
| `/BatchType`          | Optional | The name of the batch type containing the assembly that needs to be updated.                                                                                                                                                                                                  |

<Note>
  If neither the `/DocumentDefinition` parameter nor the `/BatchType` parameter is set, the program will look for the document assembly in all the Document Definitions and batch types.
</Note>

## Example of use

* `UpdateAssembly /Project="https://FCSRV/1/SingleEntryPoint" /AssemblyPath="D:\FlexiCapture\ClassLibrary1\bin\Release\ClassLibrary1.dll" /DocumentDefinition=*`
