added link back to query table