Updated the organization delete function.