def update(self, name=values.unset, code_length=values.unset):
data = values.of({'<STR_LIT:Name>': name, '<STR_LIT>': code_length, })<EOL>payload = self._version.update(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return ServiceInstance(self._version, payload, sid=self._solution['<STR_LIT>'], )<EOL>
Update the ServiceInstance

:param unicode name: Friendly name of the service
:param unicode code_length: Length of verification code. Valid values are 4-10

:returns: Updated ServiceInstance
:rtype: twilio.rest.preview.acc_security.service.ServiceInstance