updated switch color