update graph controller