tweaking update script and cleaning up from previous build