add new device and tunning exist templates