updated text rendering