update GRAPH.CPP