Set device ID to new device