update clone graph & wildcard matching