adding methods to update a user