Add the product name and cn_name duplicated checking
Improve the name changing logic