update paint2d examplle