update select switch