update templates to reflect embed/ref rels