Improved the README's totals example
Two code refactor; no functional change

In preparation for a bug fix in the next commit.
Fixed the handling of updated delta column values