starting rework of code to fix logs/comments and categorize
categorize correctly updating in DB and in angular