db updates to get category and subcategory info