API Hook on profile update