update output filenames