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

        with context.session.begin(subtransactions=True):
            p = super(MidonetPluginV2, self).update_pool(context, id, pool)
            self.api_cli.update_pool(id, p)

        LOG.debug("MidonetPluginV2.update_pool exiting: id=%(id)r, "
                  "pool=%(pool)r", {'id': id, 'pool': pool})
        return p