replace old index by the new UI