improved duplicate checking process for products