Fixed the updateUserLocation