xxx now
more progress
ok, rewrite is done.
now "replace" updates work too. also give up on idea of knowing
what fields changed (more correct, does require an in memory diff).

many tests pass.