update for duplicate and upgrades