diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c)2012, Haisheng Wu
+Copyright (c)2012-2017, Haisheng Wu
 
 All rights reserved.
 
diff --git a/hoauth2.cabal b/hoauth2.cabal
--- a/hoauth2.cabal
+++ b/hoauth2.cabal
@@ -1,6 +1,6 @@
 Name:                hoauth2
 -- http://wiki.haskell.org/Package_versioning_policy
-Version:             0.5.8
+Version:             0.5.9
 
 Synopsis:            Haskell OAuth2 authentication client
 Description:
@@ -46,8 +46,8 @@
   Location: git://github.com/freizl/hoauth2.git
 
 Flag test
-     Description: Build the executables
-     Default: False
+  Description: Build the executables
+  Default: False
 
 Library
   hs-source-dirs: src
@@ -59,13 +59,14 @@
 
   Build-Depends:
     base                 >= 4     && < 5,
-    aeson                >= 1.1   && < 1.2,
     text                 >= 0.11  && < 1.3,
     bytestring           >= 0.9   && < 0.11,
-    http-conduit         >= 2.2   && < 2.3,
+    http-conduit         >= 2.1   && < 2.3,
     http-types           >= 0.9   && < 0.10,
-    unordered-containers >=0.2.5
+    aeson                >= 0.11  && < 1.2,
+    unordered-containers >= 0.2.5
 
+
   if impl(ghc >= 6.12.0)
       ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
                    -fno-warn-unused-do-bind
@@ -83,9 +84,10 @@
   default-language:    Haskell2010
   build-depends:       base              >= 4.5    && < 5,
                        http-types        >= 0.9    && < 0.10,
-                       http-conduit      >= 2.2    && < 2.3,
+                       http-conduit      >= 2.1    && < 2.3,
                        text              >= 0.11   && < 1.3,
                        bytestring        >= 0.9    && < 0.11,
+                       aeson             >= 0.11   && < 1.2,
                        hoauth2
 
   if impl(ghc >= 6.12.0)
@@ -106,10 +108,10 @@
   default-language:    Haskell2010
   build-depends:       base              >= 4.5    && < 5,
                        http-types        >= 0.9    && < 0.10,
-                       http-conduit      >= 2.2    && < 2.3,
+                       http-conduit      >= 2.1    && < 2.3,
                        text              >= 0.11   && < 1.3,
                        bytestring        >= 0.9    && < 0.11,
-                       aeson             >= 1.1    && < 1.2,
+                       aeson             >= 0.11   && < 1.2,
                        hoauth2
 
   if impl(ghc >= 6.12.0)
@@ -130,10 +132,10 @@
   default-language:    Haskell2010
   build-depends:       base              >= 4.5    && < 5,
                        http-types        >= 0.9    && < 0.10,
-                       http-conduit      >= 2.2    && < 2.3,
+                       http-conduit      >= 2.1    && < 2.3,
                        text              >= 0.11   && < 1.3,
                        bytestring        >= 0.9    && < 0.11,
-                       aeson             >= 1.1    && < 1.2,
+                       aeson             >= 0.11   && < 1.2,
                        hoauth2
 
   if impl(ghc >= 6.12.0)
@@ -153,10 +155,10 @@
   default-language:    Haskell2010
   build-depends:       base              >= 4.5    && < 5,
                        http-types        >= 0.9    && < 0.10,
-                       http-conduit      >= 2.2    && < 2.3,
+                       http-conduit      >= 2.1    && < 2.3,
                        text              >= 0.11   && < 1.3,
                        bytestring        >= 0.9    && < 0.11,
-                       aeson             >= 1.1    && < 1.2,
+                       aeson             >= 0.11   && < 1.2,
                        hoauth2
 
   if impl(ghc >= 6.12.0)
@@ -176,10 +178,10 @@
   default-language:    Haskell2010
   build-depends:       base              >= 4.5    && < 5,
                        http-types        >= 0.9    && < 0.10,
-                       http-conduit      >= 2.2    && < 2.3,
+                       http-conduit      >= 2.1    && < 2.3,
                        text              >= 0.11   && < 1.3,
                        bytestring        >= 0.9    && < 0.11,
-                       aeson             >= 1.1    && < 1.2,
+                       aeson             >= 0.11   && < 1.2,
                        hoauth2
 
   if impl(ghc >= 6.12.0)
@@ -200,12 +202,12 @@
   build-depends:       base              >= 4.5    && < 5,
                        text              >= 0.11   && < 1.3,
                        bytestring        >= 0.9    && < 0.11,
-                       http-conduit      >= 2.2    && < 2.3,
+                       http-conduit      >= 2.1    && < 2.3,
                        http-types        >= 0.9    && < 0.10,
                        wai               >= 3.2    && < 3.3,
                        warp              >= 3.2    && < 3.3,
                        containers        >= 0.4    && < 0.6,
-                       aeson             >= 1.1    && < 1.2,
+                       aeson             >= 0.11   && < 1.2,
                        hoauth2
 
 
@@ -226,10 +228,10 @@
   default-language:    Haskell2010
   build-depends:       base              >= 4.5    && < 5,
                        http-types        >= 0.9    && < 0.10,
-                       http-conduit      >= 2.2    && < 2.3,
+                       http-conduit      >= 2.1    && < 2.3,
                        text              >= 0.11   && < 1.3,
                        bytestring        >= 0.9    && < 0.11,
-                       aeson             >= 1.1    && < 1.2,
+                       aeson             >= 0.11   && < 1.2,
                        hoauth2
 
   if impl(ghc >= 6.12.0)
@@ -249,10 +251,10 @@
   default-language:    Haskell2010
   build-depends:       base              >= 4.5    && < 5,
                        http-types        >= 0.9    && < 0.10,
-                       http-conduit      >= 2.2    && < 2.3,
+                       http-conduit      >= 2.1    && < 2.3,
                        text              >= 0.11   && < 1.3,
                        bytestring        >= 0.9    && < 0.11,
-                       aeson             >= 1.1    && < 1.2,
+                       aeson             >= 0.11   && < 1.2,
                        hoauth2
 
   if impl(ghc >= 6.12.0)
@@ -260,4 +262,3 @@
                    -fno-warn-unused-do-bind
   else
       ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
-
