Maintain device id