update search in ./generate