update device styles