updated to set the selected value on the source selectbox