Update graph.c