working on update profile method