update create_profile method