added delete_edge