update graph config