Fix the updating of the lat/lng fields