What might be the easiest way, assuming you use phpMyAdmin, would be to go to the smilie table and export it as a CSV file. Save it to your computer, and then open it in Excel, or even a text editor. Do a FIND and REPLACE on the path you need to fix, and apply it to all items found, then save the CSV with a different file name. Go back to phpMyAdmin and import the edited CSV file into the smilie table. This should be any easy fix for your problem without having to do any SQL queries. And, if something doesn't work right, you can always import the unedited CSV file and get back to the way your forum was. Hope that helps.