def update_document(self, definition, allow_unsafe_update=False):
    '\n        Update a Product using its difinition\n\n        :param dict definition: product definition document\n        :rtype: datacube.model.DatasetType\n        '
    type_ = self.from_doc(definition)
    return self.update(type_, allow_unsafe_updates=allow_unsafe_update)
Update a Product using its difinition

:param dict definition: product definition document
:rtype: datacube.model.DatasetType
def update_document(self, definition, allow_unsafe_update=False):
    '\n        Update a Product using its difinition\n\n        :param dict definition: product definition document\n        :rtype: datacube.model.DatasetType\n        '
    type_ = self.from_doc(definition)
    return self.update(type_, allow_unsafe_updates=allow_unsafe_update)