use new deviceid and keep old for compatibility mode