initial commit of working update script