updating order of jobs