Converted to update select value inproperly