Almost working version of update.py up