update switch statement - small typo