updated db searching