diff --git a/scripts/time.js b/scripts/time.js
--- a/scripts/time.js
+++ b/scripts/time.js
@@ -17,6 +17,14 @@
     var dt = moment();
     var clockText = dt.format(config.format);
     $('.widget-time').text(clockText);
+
+    var interval = 59 - dt.second();
+    if (interval < 1) {
+      interval = 1;
+    } else if (interval > 5) {
+      interval = 5;
+    }
+    setTimeout(updateClock, interval * 1000);
   }
 
   $(document).ready(function () {
@@ -27,7 +35,6 @@
       moment.lang(navigator.language.replace(/-.+/, ''));
     }
     updateClock();
-    setInterval(updateClock, 1000);
   });
 
   return config;
diff --git a/tianbar.cabal b/tianbar.cabal
--- a/tianbar.cabal
+++ b/tianbar.cabal
@@ -1,5 +1,5 @@
 name:                tianbar
-version:             0.4.6.0
+version:             0.4.6.3
 synopsis:            A desktop bar based on WebKit
 description:
   A desktop bar using WebKit for rendering as much as possible.
@@ -29,20 +29,21 @@
 executable tianbar
   default-language:    Haskell2010
   build-depends:       base >3 && <5
-                     , aeson >=0.6 && <0.8
+                     , aeson >=0.6
                      , containers >=0.5
                      , directory >=1.2
                      , dbus >=0.10.7
                      , gtk >=0.12
                      , gtk-traymanager >=0.1
                      , happstack-server >= 7.3
-                     , network >=2.4
+                     , network >=2.6
+                     , network-uri >=2.6
                      , process >=1.2
                      , random >=1.0
                      , split >=0.2
                      , text >=0.11
-                     , transformers >=0.3 && <0.5
-                     , webkit >=0.12.6.1 && <0.13
+                     , transformers >=0.3
+                     , webkit >=0.12.6.1
                      , xdg-basedir >=0.2
   pkgconfig-depends:   gtk+-2.0
   hs-source-dirs:      src
@@ -65,7 +66,6 @@
                      , System.Tianbar.WebKit
   c-sources:           src/gdk_property_change_wrapper.c
   ghc-options:         -Wall -rtsopts -threaded
-  ghc-prof-options:    -auto-all
 
 library
   default-language:    Haskell2010
@@ -79,7 +79,6 @@
   hs-source-dirs:      src
   exposed-modules:     System.Tianbar.XMonadLog
   ghc-options:         -Wall -rtsopts
-  ghc-prof-options:    -auto-all
 
 source-repository head
   type:                git
