updated wrapper to insert GPSLocations