Update Device.php