updating order of slides