updated examples to 0.3.1