Update DetectNumber.cpp