public function update($id, ContactMetadata $contactMetadata)
    {
        $response = $this->mailjet->put(Resources::$Contactmetadata, ['id' => $id,'body' => $contactMetadata->format()]);
        if (!$response->success()) {
            $this->throwError("ContactMetadataManager:update() failed", $response);
        }

        return $response->getData();
    }