adding position to query response map