Edit branches for opttree.