updating demo with persistent urls and saving