def update_health_monitor(self, context, id, health_monitor):
        LOG.debug("MidonetPluginV2.update_health_monitor called: id=%(id)r, "
                  "health_monitor=%(health_monitor)r",
                  {'id': id, 'health_monitor': health_monitor})

        with context.session.begin(subtransactions=True):
            hm = super(MidonetPluginV2, self).update_health_monitor(
                context, id, health_monitor)
            self.api_cli.update_health_monitor(id, hm)

        LOG.debug("MidonetPluginV2.update_health_monitor exiting: id=%(id)r, "
                  "health_monitor=%(health_monitor)r",
                  {'id': id, 'health_monitor': hm})
        return hm