Update switch button