Update the Code Generator class