update demo.
added convert methods.