add date to main index