update to select element