Add department delete function