Tweaked update script.