change the index's extension