updated userinput schema