updating order of rooms