use the new search url and fix depreciation warnings.