If tree doesn't exist, throw 404 error.
Updating treestore.