update render tree