pre-save now adds parents rootId to node