update TextTemplate