updated feature extractor