NXP-14790: write only incremental updates to documents; save() immediately writes to the repository TODO undo log