updating 2d playgroudn