code: def update(self, friendly_name, enabled=values.unset, video_layout=values.unset,
                 audio_sources=values.unset, audio_sources_excluded=values.unset,
                 trim=values.unset, format=values.unset, resolution=values.unset,
                 status_callback=values.unset, status_callback_method=values.unset):
          
          return self._proxy.update(
              friendly_name,
              enabled=enabled,
              video_layout=video_layout,
              audio_sources=audio_sources,
              audio_sources_excluded=audio_sources_excluded,
              trim=trim,
              format=format,
              resolution=resolution,
              status_callback=status_callback,
              status_callback_method=status_callback_method,
          )
docs: 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