PSD changes and pouchdb