Updating main index