fixed bug with updating from profile data