save stats & results in API