update index with stats