def _update(self, endpoint, data, root): xml = compose(data, root=root, arrays=self.arrays) return self._req('put', endpoint, xml)