diff --git a/docs/source/algorithms/FakeISISEventDAE-v1.rst b/docs/source/algorithms/FakeISISEventDAE-v1.rst
index 728da060012c9600429455a6201dd6a623f9a3db..6a802345593bddc239f92e2babd67c4a318ecdd4 100644
--- a/docs/source/algorithms/FakeISISEventDAE-v1.rst
+++ b/docs/source/algorithms/FakeISISEventDAE-v1.rst
@@ -59,8 +59,7 @@ Usage
             # This will cancel both algorithms
             # you can do the same in the GUI
             # by clicking on the details button on the bottom right
-            AlgorithmManager.newestInstanceOf("MonitorLiveData").cancel()
-            AlgorithmManager.newestInstanceOf("FakeISISEventDAE").cancel()
+            AlgorithmManager.cancelAll()
             time.sleep(1)
     #--------------------------------------------------------------------------------------------------
 
diff --git a/docs/source/algorithms/FakeISISHistoDAE-v1.rst b/docs/source/algorithms/FakeISISHistoDAE-v1.rst
index 95db339bfa08f9640bb12850fc6b8070a904e227..769a98b841621b0f0e41d877b489d394b4d52997 100644
--- a/docs/source/algorithms/FakeISISHistoDAE-v1.rst
+++ b/docs/source/algorithms/FakeISISHistoDAE-v1.rst
@@ -48,8 +48,7 @@ Usage
             # This will cancel both algorithms
             # you can do the same in the GUI
             # by clicking on the details button on the bottom right
-            AlgorithmManager.newestInstanceOf("MonitorLiveData").cancel()
-            AlgorithmManager.newestInstanceOf("FakeISISHistoDAE").cancel()
+            AlgorithmManager.cancelAll()
             time.sleep(1)
     #--------------------------------------------------------------------------------------------------
 
diff --git a/docs/source/algorithms/RecordPythonScript-v1.rst b/docs/source/algorithms/RecordPythonScript-v1.rst
index b095e41acf56b9ffbe3e963c7b8865732d9bc1e8..35dc6f7305e55d0cde6c768c001c621c20912dbc 100644
--- a/docs/source/algorithms/RecordPythonScript-v1.rst
+++ b/docs/source/algorithms/RecordPythonScript-v1.rst
@@ -49,7 +49,7 @@ Usage
     # This will cancel the rocording algorithm
     # you can do the same in the GUI 
     # by clicking on the details button on the bottom right
-    AlgorithmManager.newestInstanceOf("RecordPythonScript").cancel()
+    AlgorithmManager.cancelAll()
     thread.join()
 
     #Load and print the resulting file
diff --git a/docs/source/algorithms/StartLiveData-v1.rst b/docs/source/algorithms/StartLiveData-v1.rst
index 9cea6f976d8742dd0da9352ee9afcddf43ae5f8e..58342a20de0e1358eedf781fafcea3632a3bf307 100644
--- a/docs/source/algorithms/StartLiveData-v1.rst
+++ b/docs/source/algorithms/StartLiveData-v1.rst
@@ -150,8 +150,7 @@ Usage
             # This will cancel both algorithms
             # you can do the same in the GUI
             # by clicking on the details button on the bottom right
-            AlgorithmManager.newestInstanceOf("MonitorLiveData").cancel()
-            AlgorithmManager.newestInstanceOf("FakeISISEventDAE").cancel()
+            AlgorithmManager.cancelAll()
             time.sleep(1)
     #--------------------------------------------------------------------------------------------------
 
@@ -216,8 +215,7 @@ Output:
             # This will cancel both algorithms
             # you can do the same in the GUI
             # by clicking on the details button on the bottom right
-            AlgorithmManager.newestInstanceOf("MonitorLiveData").cancel()
-            AlgorithmManager.newestInstanceOf("FakeISISHistoDAE").cancel()
+            AlgorithmManager.cancelAll()
             time.sleep(1)
     #--------------------------------------------------------------------------------------------------