search and replace whole database