updated demo for new version