Update Serialize and Deserialize a Binary Tree