update index with date