update demo with three.js