add device template