Update generated code