assuming match ids are being auto incremented