Initial code to update user profiles