Fix update graph