added edge/vertex deletion in case of edge/vertex removal