change the path of index