change urls to id based