update layout text