updated advanced search