update input controls