update recover script