local function updateCombo(self) do stuff.. end ... -- this goes in the layout function self:RegisterEvent('UNIT_COMBO_POINTS', updateCombo)