Change update script to work with wget