Updated import not exists logic