Use callback to modify palettes

Otherwise all extensions with letter > C will not be updated