updated demo flow