Ppdf and database changes

Correction