update graph loading