def METHOD_NAME(
    self,
    df,
    args
):
    request = ml_pb2.UpdateCall(context=self.context, df=pickle.dumps(df), args=json.dumps(args))
    resp = self.stub.Update(request)
    logger.info("%s.update: success - %s", self.__class__.__name__, resp.success)
    if not resp.success:
        logger.error("%s.update: returned error - %s", self.__class__.__name__, resp.error_message)
        raise Exception(resp.error_message)