updates inputs on left