update goagent to v3.1.5-42, fix some bugs