Update if/else/switch