added category and days to db