upgrade bootstrap.py