if no code supplied to demo, use prompt
demo update