Update api location.