Updated some details for setting the selected value