update to search
minor fixes