update 4  problem of binary tree