modify commit index.