Update category to mark it as inactive instead of destroying it