commit of index