update log extractor script