add to a tree and mysql

i have a probleme!
i would like to add an item to my tree and in the same time ade it to mysql table
i have everything set from my tree to my hierarchical coontainer (i’ve used my sql container)

thnaks in advance