update demo to use new animation methods