change urls to keep the old api