public function update($method, $params = [], $headers = [])
    {
        return $this->makeRequest($method, self::METHOD_PUT, $params, $headers);
    }
public function update($method, $params = [], $headers = [])
    {
        return $this->makeRequest($method, self::METHOD_PUT, $params, $headers);
    }
public function update ( $ method , $ params = [ ] , $ headers = [ ] ) { return $ this -> makeRequest ( $ method , self :: METHOD_PUT , $ params , $ headers ) ; }
Update an object. Must include the ID.

@param  string $method The API method to call, e.g. '/users/1'
@param  array $params An array of data to update the object. Only changed fields needed.
@param  array $headers Array of custom headers to be passed
@return array           Object of json decoded API response.
Update an object . Must include the ID .