update graph.txt