Added some temporary code to bulk update categories. Not yet working.