Make sure to save the relation when a url is created.