update bootstrap.py to version 2