Changed the category to the category_id foreign key for categories