updated geolocation. it's more efficient in the new version