deleting old index
add new index