delete demo, change index