edit the settings of a class