update the options value to contain values and labels