Update graph generation