update generated code.