Update hmc.py