diff --git a/habit.cabal b/habit.cabal
--- a/habit.cabal
+++ b/habit.cabal
@@ -1,5 +1,5 @@
 name: habit
-version: 0.2.1.2
+version: 0.2.2.0
 cabal-version: >=1.10
 build-type: Simple
 license: BSD3
@@ -45,7 +45,7 @@
         telegram-api >=0.5.0.1 && <0.6,
         http-client >=0.4.31.2 && <0.5,
         containers >=0.5.7.1 && <0.6,
-        cryptonite ==0.19.*,
+        cryptonite ==0.21.*,
         resourcet >=1.1.8.1 && <1.2,
         pipes >=4.1.9 && <4.2,
         text >=1.2.2.1 && <1.3
@@ -59,7 +59,7 @@
     main-is: Hello.hs
     build-depends:
         base >=4.7 && <5,
-        habit >=0.2.1.2 && <0.3,
+        habit >=0.2.2.0 && <0.3,
         text >=1.2.2.1 && <1.3
     default-language: Haskell2010
     default-extensions: OverloadedStrings
diff --git a/src/Web/Bot/Persist.hs b/src/Web/Bot/Persist.hs
--- a/src/Web/Bot/Persist.hs
+++ b/src/Web/Bot/Persist.hs
@@ -47,7 +47,7 @@
 data Connection = Postgresql ConnectionString
                 | Sqlite Text
                 | MySQL ConnectInfo
-  deriving (Eq, Show)
+  deriving (Read, Eq, Show)
 
 -- | Connection info provider
 class Platform a => Persist a where
