Palette update on selection change