update paint