Update agent config to match server