update code painted user interface elements