updated api documentation to include search