updated NegationDetector component