diff --git a/README.md b/README.md
index 2454b6d..cfee2a5 100644
--- a/README.md
+++ b/README.md
@@ -36,15 +36,13 @@ Here the example of bindings declaration:
 
 Usage example:
 
-    $twig = \bhl_bind\get_twig();
     $meta = \bhl_bind\prepare_meta($meta);
 
     file_put_contents('autobind.cs', 
-      $twig->render("codegen_autobind.twig", 
+      \bhl_bind\codegen(null, $meta,
         [
          'imports' => ['UnityEngine'], 
          'register_class' => 'BHL_AutoBindings',
-         'meta' => $meta
         ]
       )
     );