Updates some stats stuff.