update code for new django and persona