def update(self, friendly_name=values.unset, identity=values.unset,<EOL>deployment_sid=values.unset, enabled=values.unset):
data = values.of({<EOL>'<STR_LIT>': friendly_name,<EOL>'<STR_LIT>': identity,<EOL>'<STR_LIT>': deployment_sid,<EOL>'<STR_LIT>': enabled,<EOL>})<EOL>payload = self._version.update(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return DeviceInstance(<EOL>self._version,<EOL>payload,<EOL>fleet_sid=self._solution['<STR_LIT>'],<EOL>sid=self._solution['<STR_LIT>'],<EOL>)<EOL>
Update the DeviceInstance

:param unicode friendly_name: A human readable description for this Device.
:param unicode identity: An identifier of the Device user.
:param unicode deployment_sid: The unique SID of the Deployment group.
:param bool enabled: The enabled

:returns: Updated DeviceInstance
:rtype: twilio.rest.preview.deployed_devices.fleet.device.DeviceInstance