commit main index