Update a list if duplicate name found