Update class.scheduled.php