replace updateData method to userProfileController