update demo for browser