add bulk query to fetch record