Improvements to update script and log.