'Update the ServiceInstance
:param unicode friendly_name: The friendly_name
:param unicode inbound_request_url: The inbound_request_url
:param unicode inbound_method: The inbound_method
:param unicode fallback_url: The fallback_url
:param unicode fallback_method: The fallback_method
:param unicode status_callback: The status_callback
:param bool sticky_sender: The sticky_sender
:param bool mms_converter: The mms_converter
:param bool smart_encoding: The smart_encoding
:param ServiceInstance.ScanMessageContent scan_message_content: The scan_message_content
:param bool fallback_to_long_code: The fallback_to_long_code
:param bool area_code_geomatch: The area_code_geomatch
:param unicode validity_period: The validity_period
:param bool synchronous_validation: The synchronous_validation
:returns: Updated ServiceInstance
:rtype: twilio.rest.messaging.v1.service.ServiceInstance'

def update(self, friendly_name=values.unset, inbound_request_url=values.unset, inbound_method=values.unset, fallback_url=values.unset, fallback_method=values.unset, status_callback=values.unset, sticky_sender=values.unset, mms_converter=values.unset, smart_encoding=values.unset, scan_message_content=values.unset, fallback_to_long_code=values.unset, area_code_geomatch=values.unset, validity_period=values.unset, synchronous_validation=values.unset):

    data = values.of({'FriendlyName': friendly_name, 'InboundRequestUrl': inbound_request_url, 'InboundMethod': inbound_method, 'FallbackUrl': fallback_url, 'FallbackMethod': fallback_method, 'StatusCallback': status_callback, 'StickySender': sticky_sender, 'MmsConverter': mms_converter, 'SmartEncoding': smart_encoding, 'ScanMessageContent': scan_message_content, 'FallbackToLongCode': fallback_to_long_code, 'AreaCodeGeomatch': area_code_geomatch, 'ValidityPeriod': validity_period, 'SynchronousValidation': synchronous_validation})
    payload = self._version.update('POST', self._uri, data=data)
    return ServiceInstance(self._version, payload, sid=self._solution['sid'])
