fixed updateCells