search-replace function modified to perform a search and replace through multisite specific tables