Update with functions and user prompt