update script of category, can add violations now