You'll need a code stage with the collection as input. In the code the collection will be represented as a .Net datatable object. After manipulating the datatable, output it from the code stage. Note if the input collection has predefined fields it cannot be used to receive the code stage output, you must use a different collection. However if the input collection is dynamic (ie no predefined fields) then it can be used to receive the output.