bedrockagent_update_agent function

Updates the configuration of an agent