tweaked logging tests.
fixed UpdateFields in basic repository.