diff --git a/index.html b/index.html
index 691332e9540fdfa990a3255a03f12887edb86111..ee10373ba50e0f40cc12c95a2e7f94e15db2b7f6 100644
--- a/index.html
+++ b/index.html
@@ -17,7 +17,7 @@
     <div class='container'>
         <h1>OhmPi Acquisition Board</h1>
         <!-- nb stacks, on-time -->
-        <button id="setConfigBtn" type="button" class="btn btn-secondary" data-toggle="modal" data-target="#exampleModal">Settings</button>
+        <button id="update_settingsBtn" type="button" class="btn btn-secondary" data-toggle="modal" data-target="#exampleModal">Settings</button>
         <button id='startBtn' type="button" class="btn btn-primary">Start</button>
         <button id='stopBtn' type="button" class="btn btn-warning">Stop</button>
         <!-- upload button for csv which display the table ABMN -->
@@ -197,10 +197,10 @@
             // define callback to send settigs to Pi
             function configCallback() {
                 sendCommand(JSON.stringify({
-                    'cmd': 'setConfig',
+                    'cmd': 'update_settings',
                      'config': formVals
                 }), function(x) {
-                    console.log('setconfig:', x)
+                    console.log('update_settings', x)
                 })
             }