text and layout update