     
         let relationshipResource: String = self.baseURL + "/db/data/relationship/" + relationship.relationshipMeta!.relationshipID() + "/properties"
         let relationshipURL: NSURL = NSURL(string: relationshipResource)!
-        let relationshipRequest: Request = Request(url: relationshipURL, credential: self.credentials)
+        let relationshipRequest: Request = Request(url: relationshipURL, credentials: self.credentials)
         
         relationship.updatingProperties = true
         

    
        let nodeResource: String = self.baseURL + "/db/data/node/" + nodeID
        let nodeURL: NSURL = NSURL(string: nodeResource)!
        let nodeRequest: Request = Request(url: nodeURL, credential: self.credentials)
        
        nodeRequest.deleteResource({(data, response) in
                

                            let nodeID: String = nodeWithLabels.meta!.nodeID()
                            let nodeResource: String = self.baseURL + "/db/data/node/" + nodeID + "/labels"
                            let nodeURL: NSURL = NSURL(string: nodeResource)!
                            let nodeRequest: Request = Request(url: nodeURL, credentials: self.credentials)
                            
                            nodeRequest.postResource(labels, forUpdate: false,
                                successBlock: {(data, response) in
