fixed bug where multiple updates on the same key and transaction were not applied