Immutable and memoization updates