diff --git a/interface/lib/classes/remote.d/domains.inc.php b/interface/lib/classes/remote.d/domains.inc.php
index ef768825b960266f61c259d8db4799fc815d5e3b..05a639ad6e20f287806c8f395d1ae94d6e5eb422 100644
--- a/interface/lib/classes/remote.d/domains.inc.php
+++ b/interface/lib/classes/remote.d/domains.inc.php
@@ -66,13 +66,13 @@ class remoting_domains extends remoting {
 	}
 
 	//* Update a record
-	public function domains_domain_update($session_id, $client_id, $params)
+	public function domains_domain_update($session_id, $client_id, $primary_id, $params)
 	{
 		if(!$this->checkPerm($session_id, 'domains_domain_update')) {
 			throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
 			return false;
 		}
-		return $this->updateQuery('../client/form/domain.tform.php', $client_id, $params);
+		return $this->updateQuery('../client/form/domain.tform.php', $client_id, $primary_id, $params);
 	}
 
 	//* Delete a record