Refactor final stats updates.