duplicate latlng problem is solved by changing INSERT to REPLACE.