Sample6 after update model and code generation