update graph.html