Add device key and id