def update(self, friendly_name, enabled=values.unset, video_layout=values.unset,<EOL>audio_sources=values.unset, audio_sources_excluded=values.unset,<EOL>trim=values.unset, format=values.unset, resolution=values.unset,<EOL>status_callback=values.unset, status_callback_method=values.unset):
data = values.of({<EOL>'<STR_LIT>': friendly_name,<EOL>'<STR_LIT>': enabled,<EOL>'<STR_LIT>': serialize.object(video_layout),<EOL>'<STR_LIT>': serialize.map(audio_sources, lambda e: e),<EOL>'<STR_LIT>': serialize.map(audio_sources_excluded, lambda e: e),<EOL>'<STR_LIT>': trim,<EOL>'<STR_LIT>': format,<EOL>'<STR_LIT>': resolution,<EOL>'<STR_LIT>': status_callback,<EOL>'<STR_LIT>': status_callback_method,<EOL>})<EOL>payload = self._version.update(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return CompositionHookInstance(self._version, payload, sid=self._solution['<STR_LIT>'], )<EOL>
Update the CompositionHookInstance

:param unicode friendly_name: Friendly name of the Composition Hook to be shown in the console.
:param bool enabled: Boolean flag indicating if the Composition Hook is active.
:param dict video_layout: The JSON video layout description.
:param unicode audio_sources: A list of audio sources related to this Composition Hook.
:param unicode audio_sources_excluded: A list of audio sources excluded related to this Composition Hook.
:param bool trim: Boolean flag for clipping intervals that have no media.
:param CompositionHookInstance.Format format: Container format of the Composition Hook media file. Any of the following: `mp4`, `webm`.
:param unicode resolution: Pixel resolution of the composed video.
:param unicode status_callback: A URL that Twilio sends asynchronous webhook requests to on every composition event.
:param unicode status_callback_method: HTTP method Twilio should use when requesting the above URL.

:returns: Updated CompositionHookInstance
:rtype: twilio.rest.video.v1.composition_hook.CompositionHookInstance