Fixed Function for profile update