Update addDevice.php