Updated switch case block.