Add device relations