update recompute script