#53: Allows customization of palette update.