callback for update palette; win2k ok now