Change array indexes to match existing ones