Remember, an UPDATE without the WHERE clause will change every row in that table!
By Using a WHERE clause you can select one or more rows wich will be affected,
Example:
UPDATE pages SET admin_groups = '2,1' WHERE parent='6';
will change only those pages where the parent is page_id 6
tip
Copy the tabel yo wish to play on to another new table and experiment
John