Update the scheduler