update edit controller for users