function to upload PDF and style pdf href