update (and parameterize) device name