update schedule task