FIX: deleteOnUpdate and fields['dir'] = false error