added User#update method