Updates the agent with the provided configuration.
The type of the agent configuration.
The agent to update.
The configuration block for the agent.