Update stats and add a timestamp