moves updated_line_item_costs method to be a public method