updated search functionality when no search entry