updateAccumulator