public function update(array $data, $id)
    {
        if( !is_integer($id) )
            throw new Exception("ID must be a integer");

        $handle = array('Id'=>$id);

        foreach( $data as $field => $value )
        {
            switch( strtolower($field) )
            {
                case 'name':
                    $this->client
                        ->debtorContact_SetName(array(
                            'debtorContactHandle' => $handle,
                            'value'               => $value
                        ));
                    break;

                case 'email':
                    $this->client
                        ->debtorContact_SetEmail(array(
                            'debtorContactHandle' => $handle,
                            'value'               => $value
                        ));
                    break;

                case 'phone':
                    $this->client
                        ->DebtorContact_SetTelephoneNumber(array(
                            'debtorContactHandle' => $handle,
                            'value'               => $value
                        ));
                    break;

                case 'invoice':
                    $this->client
                        ->debtorContact_SetIsToReceiveEmailCopyOfInvoice(array(
                            'debtorContactHandle' => $handle,
                            'value'               => !!$value
                        ));
                    break;

                case 'order':
                    $this->client
                        ->debtorContact_SetIsToReceiveEmailCopyOfOrder(array(
                            'debtorContactHandle' => $handle,
                            'value'               => !!$value
                        ));
                    break;

                case 'comment':
                    $this->client
                        ->debtorContact_SetComments(array(
                            'debtorContactHandle' => $handle,
                            'value'               => $value
                        ));
                    break;

            }
        }

        return $this->getArrayFromHandles($handle);
    }