update clientthread