upd button state