add profiles controller for update profile