updated search with submit button