updating to 2.2.0
diff --git a/VERSION b/VERSION
index 01a6c09..e3a4f19 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.2.0rc2
\ No newline at end of file
+2.2.0
\ No newline at end of file
diff --git a/example/www/cordova-2.2.0.js b/example/www/cordova-2.2.0.js
index 1e5153d..7424e57 100644
--- a/example/www/cordova-2.2.0.js
+++ b/example/www/cordova-2.2.0.js
@@ -1,6 +1,6 @@
-// commit faea9fb423e7dffb60b10d378cf089cdb48c6cf0
+// commit 02b91c5313ff37d74a58f71775170afd360f4a1f
 
-// File generated at :: Fri Oct 26 2012 13:39:25 GMT-0700 (Pacific Daylight Time)
+// File generated at :: Wed Oct 31 2012 15:32:45 GMT-0700 (Pacific Daylight Time)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -2638,7 +2638,7 @@
         errorCallback(error);
     };
 
-    exec(win, errorCallback, 'FileTransfer', 'download', [source, target, trustAllHosts, this._id]);
+    exec(win, fail, 'FileTransfer', 'download', [source, target, trustAllHosts, this._id]);
 };
 
 /**
diff --git a/templates/full/VERSION b/templates/full/VERSION
index 01a6c09..e3a4f19 100644
--- a/templates/full/VERSION
+++ b/templates/full/VERSION
@@ -1 +1 @@
-2.2.0rc2
\ No newline at end of file
+2.2.0
\ No newline at end of file
diff --git a/templates/full/www/cordova-2.2.0.js b/templates/full/www/cordova-2.2.0.js
index 1e5153d..7424e57 100644
--- a/templates/full/www/cordova-2.2.0.js
+++ b/templates/full/www/cordova-2.2.0.js
@@ -1,6 +1,6 @@
-// commit faea9fb423e7dffb60b10d378cf089cdb48c6cf0
+// commit 02b91c5313ff37d74a58f71775170afd360f4a1f
 
-// File generated at :: Fri Oct 26 2012 13:39:25 GMT-0700 (Pacific Daylight Time)
+// File generated at :: Wed Oct 31 2012 15:32:45 GMT-0700 (Pacific Daylight Time)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -2638,7 +2638,7 @@
         errorCallback(error);
     };
 
-    exec(win, errorCallback, 'FileTransfer', 'download', [source, target, trustAllHosts, this._id]);
+    exec(win, fail, 'FileTransfer', 'download', [source, target, trustAllHosts, this._id]);
 };
 
 /**
diff --git a/templates/standalone/VERSION b/templates/standalone/VERSION
index 01a6c09..e3a4f19 100644
--- a/templates/standalone/VERSION
+++ b/templates/standalone/VERSION
@@ -1 +1 @@
-2.2.0rc2
\ No newline at end of file
+2.2.0
\ No newline at end of file
diff --git a/templates/standalone/www/cordova-2.2.0.js b/templates/standalone/www/cordova-2.2.0.js
index 1e5153d..7424e57 100644
--- a/templates/standalone/www/cordova-2.2.0.js
+++ b/templates/standalone/www/cordova-2.2.0.js
@@ -1,6 +1,6 @@
-// commit faea9fb423e7dffb60b10d378cf089cdb48c6cf0
+// commit 02b91c5313ff37d74a58f71775170afd360f4a1f
 
-// File generated at :: Fri Oct 26 2012 13:39:25 GMT-0700 (Pacific Daylight Time)
+// File generated at :: Wed Oct 31 2012 15:32:45 GMT-0700 (Pacific Daylight Time)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -2638,7 +2638,7 @@
         errorCallback(error);
     };
 
-    exec(win, errorCallback, 'FileTransfer', 'download', [source, target, trustAllHosts, this._id]);
+    exec(win, fail, 'FileTransfer', 'download', [source, target, trustAllHosts, this._id]);
 };
 
 /**