update references of diego edge to lattice