modified pdf upload for catalogue