update for client and server