update switch docs