Updated a class when a default value is selected. Default value can be assigned as an option.