public function update($id)
    {
        $service = $this->getService();

        $rawData       = $this->getRawData(array('customer' => $this->getParams()));
        $response      = $service->request('customers/' . (int)$id, 'PUT', $rawData);
        $responseArray = $this->getResponseArray($response);

        if (!$this->isError()) {
            $this->_data = $responseArray['customer'];
        } else {
            $this->_data = array();
        }

        return $this;
    }