Updated text generation