some work on category update