Deposit after end of AST

Hi Adrian, I understand that there is some new legislation re the deposit after an AST finishes and becomes a periodic tenancy. I am a little confused as to what I should do at this point. Do I have to withdraw it and resubmit it, which would be difficult as I could...