update tempo.py to the latest.