add switchManager to sdk