fix a typo in update.py