added $writeOnlyChanges