fix insert/update of geolocation info