search and replace update