Update README with onDuplicate documentation