Fixing onUpdate to work properly without flicker.
Fixing merge to work correctly on nested objects