update for ptextmonitor