Update for duplicate entries