text structure update