Writes the updates to disk.
Calling this method multiple times is not supported, and subsequent executions are ignored.