Making sure pdf is up-to-date