update demo to version 0.2.4