Update scheduler.php