remove some disabled code; instead of raising an error on duplicate primary keys; just delete the existing entry and replace with the new one
version bump: v1.4.7