Updating get all queries