code: def update_marker(self, iid, **kwargs):
          
          if iid not in self._markers:
              raise ValueError("Unknown iid passed as argument: {}".format(iid))
          self.check_kwargs(kwargs)
          marker = self._markers[iid]
          marker.update(kwargs)
          self.delete_marker(iid)
          return self.create_marker(marker["category"], marker["start"], marker["finish"], marker)
docs: Change the options for a certain marker and redraw the marker
  
          :param iid: identifier of the marker to change
          :type iid: str
          :param kwargs: Dictionary of options to update
          :type kwargs: dict
          :raises: ValueError