add date to index