added extractorUpdate in Extractor, and corresponding test cases