change demo to index