write the aggregated data to the cells table