diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -175,7 +175,7 @@
 runtime surprise:
 
 ```haskell
-D.toMarkdown' . DT.thaw . DT.filterWhere (DT.col @"Name" .==. DT.lit (Just "Accept")) <$> artists
+D.toMarkdown' . DT.thaw . DT.filter (DT.col @"Name" .==. DT.lit (Just "Accept")) <$> artists
 ```
 
 > <!-- scripths:mime text/plain -->
diff --git a/dataframe-persistent.cabal b/dataframe-persistent.cabal
--- a/dataframe-persistent.cabal
+++ b/dataframe-persistent.cabal
@@ -1,6 +1,6 @@
 cabal-version:      3.0
 name:               dataframe-persistent
-version:            0.5.0.1
+version:            0.5.0.2
 synopsis: Persistent database integration for the dataframe library
 
 description: This package provides integration between the dataframe library and the Persistent database library, allowing you to load database entities into DataFrames and save DataFrames back to the database.
@@ -43,8 +43,8 @@
                       bytestring >= 0.10 && < 0.14,
                       conduit >= 1.3 && < 1.5,
                       containers >= 0.6.7 && < 0.10,
-                      dataframe-core ^>= 2.6,
-                      dataframe-operations ^>= 2.6,
+                      dataframe-core ^>= 2.7,
+                      dataframe-operations ^>= 2.7,
                       persistent >= 2.14 && < 3,
                       persistent-sqlite >= 2.13 && < 3,
                       resourcet >= 1.2 && < 2,
@@ -64,7 +64,7 @@
                    SchemaTHTests
     build-depends:  base >= 4 && < 5,
                     dataframe >= 1 && < 4,
-                    dataframe-operations ^>= 2.6,
+                    dataframe-operations ^>= 2.7,
                     dataframe-persistent,
                     HUnit >= 1.6 && < 1.8,
                     monad-logger >= 0.3 && < 0.5,
diff --git a/tests/PersistentTests.hs b/tests/PersistentTests.hs
--- a/tests/PersistentTests.hs
+++ b/tests/PersistentTests.hs
@@ -193,11 +193,11 @@
     df <- fromPersistent @TestUser []
     liftIO $ do
         -- Filter operation
-        let youngUsers = DF.filter test_user_age (< 30) df
+        let youngUsers = DF.filterBy (< 30) test_user_age df
         assertEqual "Young users count" 2 (nRows youngUsers)
 
         -- Sort operation
-        let sorted = DF.sortBy [DF.Asc (F.col @Int "age")] df
+        let sorted = DF.sortBy [DF.Asc (F.int "age")] df
         let ages = DF.columnAsList test_user_age sorted
         assertEqual "Ages sorted" [25, 28, 30, 35] ages
 
