add path to index