update pre-generated code