Move back Get inputData to program .cs

update UpdateDate method.