Update inputs.