database changes for categories and simplified transactions