Fix pouchdb middleware to handle conflict and retry to update a document
Fix pouchdb middleware to handle conflict and retry to update a document

nikolay-radkov/EBudgie,nikolay-radkov/EBudgie,nikolay-radkov/EBudgie