added group_id to categories