Added insert_edge