pids db mods to support search