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

        with context.session.begin(subtransactions=True):
            m = super(MidonetPluginV2, self).update_member(context, id, member)
            self.api_cli.update_member(id, m)

        LOG.debug("MidonetPluginV2.update_member exiting: id=%(id)r, "
                  "member=%(member)r", {'id': id, 'member': m})
        return m