device links & unlinking