update adj_matrix_graph.h