Port update.sh to Python
Merge branch 'python' into get