Added delete and edit devices