update lat and long