updated demo according to new n4j format