Submit all the changes with treenode database generation