         let endPoint = SERVER_URL + "contacts/\(contactId)/relationships"
         
         callAPIWithBodyData(type: "POST", name: "addContactRelationships", endPoint: endPoint, data: parameters, owner: owner, userInfo: info)
+    }
+    
+    public class func updateContactRelationships(_ contactId: Int, relationshipId: Int, parameters: [[String : Any]], owner: String, info: Any?) {
+        let endPoint = SERVER_URL + "contacts/\(contactId)/relationships/\(relationshipId)"
+        
+        callAPIWithBodyData(type: "PUT", name: "updateContactRelationships", endPoint: endPoint, data: parameters, owner: owner, userInfo: info)
     }
     
     public class func getContactOpportunities(contactId: Int, owner: String, info: Any?) {

        callAPIWithBodyData(type: "PUT", name: "updateContactAddresses", endPoint: endPoint, data: parameters, owner: owner, userInfo: info)
    }
    
    public class func getContactRelationships(_ contactId: Int, owner: String, info: Any?) {
        let endPoint = SERVER_URL + "contacts/\(contactId)/relationships"
        

            request.httpBody = try! JSONSerialization.data(withJSONObject: data)
        }
        else if (type == "PUT") {
            if (name == "updateContactAddresses" || name == "updateCompanyAddresses" || name == "updateContactRelationships") {
                request.httpBody = try! JSONSerialization.data(withJSONObject: data)
            }
            else {
