adds delete to edges