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

# Update a crew's agents

> Accept a newer approved version of an agent in a crew.

You update a crew's agents to move them to a newer approved version. Until you accept an update, a crew keeps using
the version it has.

## Prerequisites

Before starting this task, ensure you have the following:

* Required roles: `nx1_crew`.
* A previously created crew that you own.
* An agent in a previous crew that has a newer approved version.

## Update a crew's agents

> [tab] Web portal
>
> Perform these steps to update a crew's agents:
>
> 1. Log in to NexusOne.
> 2. On the top navigation bar, hover your mouse over **Agents** and then select **Crews**.
> 3. Click **Templates**. A crew with a newer agent version shows a number in the **Updates** column, such as
>    **1 update**.
> 4. For the crew you want to update, click the three dots at the end of its row, and then select **Edit**.
> 5. On the canvas, select the agent that has an update. A box opens on the right that says a new version is
>    available.
> 6. Click **Accept update**.
> 7. If you changed anything else on the canvas, then click **Save** to keep the update.
>
> If you made no other changes, then NexusOne saves the update right away.

> [tab] REST API
>
> Use the [Accept an agent update](https://docs.nx1cloud.com/api-reference/endpoints/crew-templates/accept-an-agent-update.md) endpoint to update
> a crew's agent.

## Additional resources

For a high-level overview of crews and how they're used in NexusOne, refer to
[Crews](https://docs.nx1cloud.com/documentation/agents/overview/crews.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.