update device refs