One function now updates the options, and another handles updating the value. The options are no longer mutated due to updating this <select>'s available options.