update the filename and date