Sync violations to database when modified

Removed reference to target_category which is no longer a column of the
class table.