update search string validation