updated query by owner queries.