update for client