-    if (ttTeamHelper::update($user->group_id, array(
-      'name' => $user->group,
-      'lock_spec' => $cl_lock_spec))) {
-      header('Location: profile_edit.php');
+    if ($user->updateGroup(array('lock_spec' => $cl_lock_spec))) {
+      header('Location: group_edit.php');