updating the client.