Update switch.php