fixed update script, and made ES wipe in run more likely to succeed