Make the update script more resiliant to errors.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>