update the location.