added updating stats + examples