change search link for history