updating order of addition