REPLACE
INSERT...ON DUPLICATE KEY UPDATE
REPLACE DELETES the row even when there was no change, creating a history entry even when none was needed or useful