update switch info