Commit for index.