Update hsm_update.py

Correcting python header