update graph to svg