updating context extractor