update for PouchDB 3.2.0