re-commit the index