code: def update_subscriber(self, update_parameters, subscriber_id):
          
          route_values = {}
          if subscriber_id is not None:
              route_values['subscriberId'] = self._serialize.url('subscriber_id', subscriber_id, 'str')
          content = self._serialize.body(update_parameters, 'NotificationSubscriberUpdateParameters')
          response = self._send(http_method='PATCH',
                                location_id='4d5caff1-25ba-430b-b808-7a1f352cc197',
                                version='5.0-preview.1',
                                route_values=route_values,
                                content=content)
          return self._deserialize('NotificationSubscriber', response)
docs: UpdateSubscriber.
          [Preview API]
          :param :class:`<NotificationSubscriberUpdateParameters> <azure.devops.v5_0.notification.models.NotificationSubscriberUpdateParameters>` update_parameters:
          :param str subscriber_id:
          :rtype: :class:`<NotificationSubscriber> <azure.devops.v5_0.notification.models.NotificationSubscriber>`