Updates the toolbar states

def OnUpdate(self, event):
        """Updates the toolbar states"""

        attributes = event.attr

        self._update_buttoncell(attributes["button_cell"])

        self.Refresh()

        event.Skip()