set device to every data table