upgrade update script