Updated db schema to support pdf