Insert match to database