added ability to delete pin types