Update the generator code.