Update recurrent.py