update page tree text in real time