added ability to rereference incoming edges on that involve a vertex that was merged