Update split a pdf.py