Update hdbits.py