fix serious bug

only the last written field was retained
update invalidation was flipped
1.0.3