add update method to user