Updating transparency routine for trees