update add/rm/show tree buttons