WIP: update statistic after callback