UPDATE 
  table
SET 
   column_name = REPLACE(column_name ,'text1','text2')
WHERE 
    "xxx" = 'xxx'