Please provide me with exact steps on what you are doing to repeat this problem and if you know, paste me row of the code that you think is causing this behaviour.
Hi, Paul.
Sounds like you're talking about REST API. And that your are overwriting data with older values if B managed to read record before A finished to update it. Classic conflict resolution ...