If I understand you correctly, you're trying to change the assigned category for a bunch of items. An item import is your best approach. You can change a category when you change an item from A to B, but that's not your scenario. You're not changing items. If you were changing a category from A to B (for all items), there's a function for that.