upgrade example to 0.4

Tested