dynamic dropdown functionality with requests