update example to new html/json rendering workflow