move edge if both src and dst are moved