FIX: deleteOnUpdate without dir fields (fields['dir'] option)