update iri in relations