updated Switch View