remove duplicate and update name