update validitycategory