It would be safer to just set the related_artefact_ids here, not to re-write everything.