add search result into local database