defined users#update method in controller