update widget tree node