update search by name and by types