modify PDF library