updated dropdownlist pluging and code the logic for the search