search now refreshes every t time a new search is enterd and the submit button is clicked