Update tree control functions.(add, delete, cancel, update)