<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def updatepLvlNextFunc(self):
        '''
        A method that creates the pLvlNextFunc attribute as a sequence of
        AR1-style functions.  Draws on the attributes PermGroFac and PrstIncCorr.
        If cycles=0, the product of PermGroFac across all periods must be 1.0,
        otherwise this method is invalid.

        Parameters
        ----------
        None

        Returns
        -------
        None
        '''
        orig_time = self.time_flow
        self.timeFwd()

        pLvlNextFunc = []
        pLogMean = self.pLvlInitMean # Initial mean (log) persistent income

        for t in range(self.T_cycle):
            pLvlNextFunc.append(pLvlFuncAR1(pLogMean,self.PermGroFac[t],self.PrstIncCorr))
            pLogMean += np.log(self.PermGroFac[t])

        self.pLvlNextFunc = pLvlNextFunc
        self.addToTimeVary('pLvlNextFunc')
        if not orig_time:
            self.timeRev()