change endpoint uris