updates api uri location