updated code to update profile locations from splash screen