update index : delete old index keys