update REX API url