async search method updated