update users controller and user model