moving update logic into commander compatible script for use with chief

Chief requires a different script. I've copied the logic from bin/update_site.py for a first cut.

Please merge this, then I'll deploy to stage and make sure it works.

Once it's happy we'll backport to stage and update the cron there to just call Chief every time