Update goagent settings.