update graph base