refactor updateLocation