Added more comments to the update script
Added more documentation