updating order of names