Adds updating of selected value on options change