add urls to corresponding locations