updated setSchedule method for MBO