--- userpoints_votingapi.install	2009-03-20 23:36:33.000000000 -0700
+++ userpoints_votingapi.install.new	2009-06-16 16:22:06.000000000 -0700
@@ -15,4 +15,15 @@ function userpoints_votingapi_install() 
 */
 function userpoints_votingapi_uninstall() {
   db_query("DELETE FROM {variable} WHERE name like '%userpoints_votingapi%'");
-}
\ No newline at end of file
+}
+
+
+/**
+ * Variable name changes.
+ */
+function userpoints_votingapi_update_6001() {
+  $ret = array();
+  variable_set('userpoints_votingapi_threshold', variable_get('userpoints_votingapi_daily_threshold', 86400));
+  variable_del('userpoints_votingapi_daily_threshold');
+  return $ret;
+}
