store game record in db