edit device view working partially