diff --git a/interface/lib/classes/tform_actions.inc.php b/interface/lib/classes/tform_actions.inc.php
index 87b76c18c0bb0e2a2341539e9a3e410349770311..81a78e1b74e05365a47065287860c0f3bb6c4c7e 100644
--- a/interface/lib/classes/tform_actions.inc.php
+++ b/interface/lib/classes/tform_actions.inc.php
@@ -114,7 +114,7 @@ class tform_actions {
 
                         // Call plugin
                         foreach($this->plugins as $plugin) {
-                                $plugin->onInsert();
+                                $plugin->onUpdate();
                         }
 						
 						$this->onAfterUpdate();
diff --git a/server/lib/classes/system.inc.php b/server/lib/classes/system.inc.php
index 8d62ef1f18f0ea4b92ff602fde059b1ab7719a9b..8d1f70c163fb012c98c71058bfd1520cbd137bd4 100644
--- a/server/lib/classes/system.inc.php
+++ b/server/lib/classes/system.inc.php
@@ -464,6 +464,28 @@ class system{
 	  	return false;
 	}
 	
+	/*
+	// Alternative implementation of the is_group function. Should be faster then the old one To be tested.
+	function is_group($group) {
+	$groupfile = '/etc/group';
+	if(is_file($groupfile)) {
+		$handle = fopen ($groupfile, "r");
+		while (!feof($handle)) {
+			$line = trim(fgets($handle, 4096));
+			if($line != ""){
+				$parts = explode(":", $line);
+	        	if($parts[0] == $group) {
+					fclose ($handle);
+					return true;
+				}
+			}
+		}
+		fclose ($handle);
+	}
+	return false;
+	}
+	*/
+	
 	function root_group(){
 		global $app;
 	  	$group_datei = $this->server_conf["group_datei"];