add dbname to params that trigger sends to the action
diff --git a/actions/database-actions/read-document.js b/actions/database-actions/read-document.js
index bd1631f..ea12a7c 100755
--- a/actions/database-actions/read-document.js
+++ b/actions/database-actions/read-document.js
@@ -10,7 +10,7 @@
   }
   var cloudant = cloudantOrError;
   var dbName = message.dbname;
-  var docId = message.docid;
+  var docId = message.docid || message.id;
   var params = {};
 
   if(!dbName) {
diff --git a/provider/lib/utils.js b/provider/lib/utils.js
index 2cdc238..35b96bf 100644
--- a/provider/lib/utils.js
+++ b/provider/lib/utils.js
@@ -324,6 +324,7 @@
             };
             form.whisk = whiskPayloadObject;
         }
+        form.dbname = dataTrigger.dbname;
 
         logger.info(tid, method, 'fireTrigger: form =', form);
         logger.info(tid, method, 'for trigger', id, 'invoking action', triggerName, 'with db update', JSON.stringify(form));
diff --git a/settings.gradle b/settings.gradle
index 4398fee..2a1ec33 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,6 +1,6 @@
 include 'tests', ':WhiskTest', ':common:scala', ':core:invoker', ':core:controller'
 
-rootProject.name = 'openwhisk-cloudant-trigger'
+rootProject.name = 'openwhisk-package-cloudant'
 def whiskhome = "$System.env.OPENWHISK_HOME"
 
 project(':WhiskTest').projectDir = new File(whiskhome, 'tests')