template: update advanced search