Update tpb.py