adjusted categories to make the checkboxes update the items categories, on the item edit page