update demo
switch to using transform