Update Demo project

- rand() to index