Updating device type and device editing