update component buttons.