'Update the DocumentPermissionInstance
:param bool read: Read access.
:param bool write: Write access.
:param bool manage: Manage access.
:returns: Updated DocumentPermissionInstance
:rtype: twilio.rest.preview.sync.service.document.document_permission.DocumentPermissionInstance'

def update(self, read, write, manage):

    data = values.of({'Read': read, 'Write': write, 'Manage': manage})
    payload = self._version.update('POST', self._uri, data=data)
    return DocumentPermissionInstance(self._version, payload, service_sid=self._solution['service_sid'], document_sid=self._solution['document_sid'], identity=self._solution['identity'])
