sprucing up update script