update schedule script