update parallelj model and generated code