Update the graph generation script.