Check this thread and the solution by @AndersDeleuran. It can “automatically” update the keys and values of a dropdown.