updated category to categoryId for macro 1. data manipulation
2. processing