avoids updating empty set