change extension of index