Your suggestion will not work at all, it's not valid SQL.
[tt]
UPDATE tbl SET fld=REPLACE(fld,'.jpg','.eps')[/tt] will examine every record in the table called tbl, changing the value stored in the column named fld so that every occurrence of '.jpg' is changed to '.eps'.
-----
ALTER world DROP injustice, ADD peace;