updates for advanced search