fix(writeAll): Update tree after each commit