Update generateSchedules.php