diff --git a/examples/browser-script-tag/index.html b/examples/browser-script-tag/index.html
index 521be91c24..82025c803e 100644
--- a/examples/browser-script-tag/index.html
+++ b/examples/browser-script-tag/index.html
@@ -28,7 +28,7 @@ <h2>Some suggestions</h2>
   <p>Try adding a new file:</p>
 
   <code style="display:block; white-space:pre-wrap; background-color:#d7d6d6">
-    node.add(new node.types.Buffer('Hello world!'), (err, filesAdded) => {
+    node.files.add(new node.types.Buffer('Hello world!'), (err, filesAdded) => {
       if (err) {
         return console.error('Error - ipfs add', err, res)
       }
@@ -40,7 +40,7 @@ <h2>Some suggestions</h2>
   <p>You can cat that same file. If you used the exact same string as above ('Hello world!') you should have an hash like this: 'QmQzCQn4puG4qu8PVysxZmscmQ5vT1ZXpqo7f58Uh9QfyY'</p>
 
   <code style="display:block; white-space:pre-wrap; background-color:#d7d6d6">
-    node.cat('QmQzCQn4puG4qu8PVysxZmscmQ5vT1ZXpqo7f58Uh9QfyY', function (err, data) {
+    node.files.cat('QmQzCQn4puG4qu8PVysxZmscmQ5vT1ZXpqo7f58Uh9QfyY', function (err, data) {
       if (err) {
         return console.error('Error - ipfs files cat', err, res)
       }