Update with functions and user prompt
Update functions and input field