updating app tree