also added some comments to the update script so that a new person looking at it know what is happening