update grapgseg