upgrade search function to home page