small change to comments, renamed two set* functions in client.c into update*