Updates to pdf merge