I'm not sure whether I should use 'of each' or 'for each' in the following sentence. Which is correct?
"The process will then update the carriage element of the cost using a formula to identify the individual cost of each item based on the number of seats."
or
"The process will then update the carriage element of the cost using a formula to identify the individual cost for each item based on the number of seats."