Update extractor.py