updated search by ids