update misleading template for matching types