fix blocks in readme
diff --git a/README.md b/README.md
index 4ea7e19..80364ae 100644
--- a/README.md
+++ b/README.md
@@ -251,8 +251,8 @@
 
 ```c++
 Environment env;
-env.set_trim(true);
-env.set_lstrip(true);
+env.set_trim_blocks(true);
+env.set_lstrip_blocks(true);
 ```
 
 With both `trim` and `lstrip` enabled, you can put statements on their own lines.