update image for paint in draw