update painter