protected function updateNewItemGroup()
 {
     $grp_id = (int) $_GET["grp_id"];
     if (!$grp_id) {
         $this->ctrl->redirect($this, "listNewItemGroups");
     }
     $this->ctrl->setParameter($this, "grp_id", $grp_id);
     $form = $this->initNewItemGroupForm($grp_id);
     if ($form->checkInput()) {
         $titles = array();
         foreach ($this->lng->getInstalledLanguages() as $lang_id) {
             $titles[$lang_id] = $form->getInput("title_" . $lang_id);
         }
         include_once "Services/Repository/classes/class.ilObjRepositorySettings.php";
         if (ilObjRepositorySettings::updateNewItemGroup($grp_id, $titles)) {
             ilUtil::sendSuccess($this->lng->txt("settings_saved"), true);
             $this->ctrl->redirect($this, "listNewItemGroups");
         }
     }
     $form->setValuesByPost();
     $this->addNewItemGroup($form);
 }