updating new version of dropdown generation