deleting editDevice