fix #235
fix #228
fix #237
edit exchange autoupdate to swicth