While doing an account update if you update a line item in a register it's completely rolled back at the end of the update process.
That’s happened to me a few times when I edit a newly downloaded transaction before One Step Update is finished running. It hasn’t happened often enough for me to figure out if there’s a pattern to it.