added a search function on dropdown list