graph refine update