updated search in init