Updating search functionality