only update non-expired
fixed pending searches bug