update ExtractPath