tweaking update script