update switch

update switch