Moved the pwd update to after the site update, because if code and db are out of sync this causes an issue
Merge pull request #12 from timodwhit/upwd

Moved the pwd update to after the site update