'Update the ShortCodeInstance
:param unicode friendly_name: A human readable description of this resource
:param unicode api_version: The API version to use
:param unicode sms_url: URL Twilio will request when receiving an SMS
:param unicode sms_method: HTTP method to use when requesting the sms url
:param unicode sms_fallback_url: URL Twilio will request if an error occurs in executing TwiML
:param unicode sms_fallback_method: HTTP method Twilio will use with sms fallback url
:returns: Updated ShortCodeInstance
:rtype: twilio.rest.api.v2010.account.short_code.ShortCodeInstance'

def update(self, friendly_name=values.unset, api_version=values.unset, sms_url=values.unset, sms_method=values.unset, sms_fallback_url=values.unset, sms_fallback_method=values.unset):

    data = values.of({'FriendlyName': friendly_name, 'ApiVersion': api_version, 'SmsUrl': sms_url, 'SmsMethod': sms_method, 'SmsFallbackUrl': sms_fallback_url, 'SmsFallbackMethod': sms_fallback_method})
    payload = self._version.update('POST', self._uri, data=data)
    return ShortCodeInstance(self._version, payload, account_sid=self._solution['account_sid'], sid=self._solution['sid'])
