Update basesearch.c