public function update($xmlEntity)
    {
        $identifier = $this->metadata->getIdentifierValue($xmlEntity);

        $xml = $this->marshaller->marshalToString($xmlEntity);

        return $this->storage->update($this->metadata, $identifier, $xml);
    }