adding update method to user