Updated removing edges.