race dropdown list dynamically updating, functions trouble shot and debugged