update input time