def update(self, friendly_name=values.unset,<EOL>default_service_role_sid=values.unset,<EOL>default_channel_role_sid=values.unset,<EOL>default_channel_creator_role_sid=values.unset,<EOL>read_status_enabled=values.unset, reachability_enabled=values.unset,<EOL>typing_indicator_timeout=values.unset,<EOL>consumption_report_interval=values.unset,<EOL>notifications_new_message_enabled=values.unset,<EOL>notifications_new_message_template=values.unset,<EOL>notifications_new_message_sound=values.unset,<EOL>notifications_new_message_badge_count_enabled=values.unset,<EOL>notifications_added_to_channel_enabled=values.unset,<EOL>notifications_added_to_channel_template=values.unset,<EOL>notifications_added_to_channel_sound=values.unset,<EOL>notifications_removed_from_channel_enabled=values.unset,<EOL>notifications_removed_from_channel_template=values.unset,<EOL>notifications_removed_from_channel_sound=values.unset,<EOL>notifications_invited_to_channel_enabled=values.unset,<EOL>notifications_invited_to_channel_template=values.unset,<EOL>notifications_invited_to_channel_sound=values.unset,<EOL>pre_webhook_url=values.unset, post_webhook_url=values.unset,<EOL>webhook_method=values.unset, webhook_filters=values.unset,<EOL>limits_channel_members=values.unset,<EOL>limits_user_channels=values.unset,<EOL>media_compatibility_message=values.unset,<EOL>pre_webhook_retry_count=values.unset,<EOL>post_webhook_retry_count=values.unset,<EOL>notifications_log_enabled=values.unset):
data = values.of({<EOL>'<STR_LIT>': friendly_name,<EOL>'<STR_LIT>': default_service_role_sid,<EOL>'<STR_LIT>': default_channel_role_sid,<EOL>'<STR_LIT>': default_channel_creator_role_sid,<EOL>'<STR_LIT>': read_status_enabled,<EOL>'<STR_LIT>': reachability_enabled,<EOL>'<STR_LIT>': typing_indicator_timeout,<EOL>'<STR_LIT>': consumption_report_interval,<EOL>'<STR_LIT>': notifications_new_message_enabled,<EOL>'<STR_LIT>': notifications_new_message_template,<EOL>'<STR_LIT>': notifications_new_message_sound,<EOL>'<STR_LIT>': notifications_new_message_badge_count_enabled,<EOL>'<STR_LIT>': notifications_added_to_channel_enabled,<EOL>'<STR_LIT>': notifications_added_to_channel_template,<EOL>'<STR_LIT>': notifications_added_to_channel_sound,<EOL>'<STR_LIT>': notifications_removed_from_channel_enabled,<EOL>'<STR_LIT>': notifications_removed_from_channel_template,<EOL>'<STR_LIT>': notifications_removed_from_channel_sound,<EOL>'<STR_LIT>': notifications_invited_to_channel_enabled,<EOL>'<STR_LIT>': notifications_invited_to_channel_template,<EOL>'<STR_LIT>': notifications_invited_to_channel_sound,<EOL>'<STR_LIT>': pre_webhook_url,<EOL>'<STR_LIT>': post_webhook_url,<EOL>'<STR_LIT>': webhook_method,<EOL>'<STR_LIT>': serialize.map(webhook_filters, lambda e: e),<EOL>'<STR_LIT>': limits_channel_members,<EOL>'<STR_LIT>': limits_user_channels,<EOL>'<STR_LIT>': media_compatibility_message,<EOL>'<STR_LIT>': pre_webhook_retry_count,<EOL>'<STR_LIT>': post_webhook_retry_count,<EOL>'<STR_LIT>': notifications_log_enabled,<EOL>})<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 friendly_name: A string to describe the resource
:param unicode default_service_role_sid: The service role assigned to users when they are added to the service
:param unicode default_channel_role_sid: The channel role assigned to users when they are added to a channel
:param unicode default_channel_creator_role_sid: The channel role assigned to a channel creator when they join a new channel
:param bool read_status_enabled: Whether to enable the Message Consumption Horizon feature
:param bool reachability_enabled: Whether to enable the Reachability Indicator feature for this Service instance
:param unicode typing_indicator_timeout: How long in seconds to wait before assuming the user is no longer typing
:param unicode consumption_report_interval: DEPRECATED
:param bool notifications_new_message_enabled: Whether to send a notification when a new message is added to a channel
:param unicode notifications_new_message_template: The template to use to create the notification text displayed when a new message is added to a channel
:param unicode notifications_new_message_sound: The name of the sound to play when a new message is added to a channel
:param bool notifications_new_message_badge_count_enabled: Whether the new message badge is enabled
:param bool notifications_added_to_channel_enabled: Whether to send a notification when a member is added to a channel
:param unicode notifications_added_to_channel_template: The template to use to create the notification text displayed when a member is added to a channel
:param unicode notifications_added_to_channel_sound: The name of the sound to play when a member is added to a channel
:param bool notifications_removed_from_channel_enabled: Whether to send a notification to a user when they are removed from a channel
:param unicode notifications_removed_from_channel_template: The template to use to create the notification text displayed to a user when they are removed
:param unicode notifications_removed_from_channel_sound: The name of the sound to play to a user when they are removed from a channel
:param bool notifications_invited_to_channel_enabled: Whether to send a notification when a user is invited to a channel
:param unicode notifications_invited_to_channel_template: The template to use to create the notification text displayed when a user is invited to a channel
:param unicode notifications_invited_to_channel_sound: The name of the sound to play when a user is invited to a channel
:param unicode pre_webhook_url: The webhook URL for pre-event webhooks
:param unicode post_webhook_url: The URL for post-event webhooks
:param unicode webhook_method: The HTTP method  to use for both PRE and POST webhooks
:param unicode webhook_filters: The list of WebHook events that are enabled for this Service instance
:param unicode limits_channel_members: The maximum number of Members that can be added to Channels within this Service
:param unicode limits_user_channels: The maximum number of Channels Users can be a Member of within this Service
:param unicode media_compatibility_message: The message to send when a media message has no text
:param unicode pre_webhook_retry_count: Count of times webhook will be retried in case of timeout or 429/503/504 HTTP responses
:param unicode post_webhook_retry_count: The number of times calls to the `post_webhook_url` will be retried
:param bool notifications_log_enabled: Whether to log notifications

:returns: Updated ServiceInstance
:rtype: twilio.rest.chat.v2.service.ServiceInstance