switch udpate