update publish by year to write to /output folder