update schedule with priorities