Major: Refine TreeDelete function, minor: refine InfoUpdate