Update createGraphs