update location.