fixed update search api bug