Finished the Edit and delete of Device management