How to edit device cards?