updateAgent

Updates the configuration of an agent.