update history-substring-search