Write related Urls to database (2)