update comments of valid entity types