added check for exists\not exists host on add\delete