Update switch case