You should pass locallyAdded and locallyDeletedIds as 0 if you don't need them populated.