update DemoCode