upgrade pouchdb

[closes #221, closes #219]