update automatically generated code.