Updating unique sets