updates device to an array for easier listing