update demo for justify support