updating for textInjection variable