Update the connector information for a given model.

        Returns None if the specified model not exist.

        Parameters
        ----------
        model_id : string
            Unique model identifier
        connector : dict
            New connection information

        Returns
        -------
        ModelHandle

def update_connector(self, model_id, connector):
        """Update the connector information for a given model.

        Returns None if the specified model not exist.

        Parameters
        ----------
        model_id : string
            Unique model identifier
        connector : dict
            New connection information

        Returns
        -------
        ModelHandle
        """
        model = self.get_model(model_id)
        if model is None:
            return None
        model.connector = connector
        self.replace_object(model)
        return model