update structure of inputs