adding phyloref to node or edge