diff --git a/app-pouchdb-database-behavior.html b/app-pouchdb-database-behavior.html
index 5de1ce6..32f2a1b 100644
--- a/app-pouchdb-database-behavior.html
+++ b/app-pouchdb-database-behavior.html
@@ -97,6 +97,9 @@
* completed, or rejects with any unhandled error.
*/
_put: function(path, value, doc) {
+ if (typeof doc === 'undefined') {
+ doc = value;
+ }
if (this.upsert) {
return this._upsert(path, value, doc);
} else {
diff --git a/bower.json b/bower.json
index fea7492..48d570e 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,5 @@
{
"name": "app-pouchdb",
- "version": "2.0.0",
"authors": [
"The Polymer Authors"
],