Update Scheduler.php