fixed updateCell rowIndex bug