add categories to database