Added an update method to the Client