python update script