Make sure everything is written to the local tables