minor update script fixes
minor update script fixes