Upadte to print in a CSV file