update input files in device directories