updating the client