updates the client after a registration