wip(history): revert back to insert+update using PK