updated to work with new search widget