update graph info