eager load queries in the api