replaced type name with new ones