update the cachescript