Update of buttons