update PDFPreprocess.main