update:

flatten input fields