Upgraded the PouchDB lib to newest version