change exist to search