Update switch window.