main index update