[CG] update generator