update search script