updates calling script