Update accumulators.