function update($name, $property) { $endpoint = "https://api.hubapi.com/contacts/v2/properties/named/{$name}"; $property['name'] = $name; $options['json'] = $property; return $this->client->request('put', $endpoint, $options); }