Yes, your local storage's Id for something might be different than when you decide to sync it to the server, because it's an autonumber. If you need a more permanent way to find your records give them a GUID perhaps? Not entirely sure I'm following the problem.