nodejs agent udpate