Update the schedule dynamically