Update goagent.c