creation and updates of classes