edit  devices/index