update commitedIndex bug