Update plugin config to agent_config