edit & delete devices