update

Change method in newVal=== case to do nothing instead of reset (no
effect on result)