Stats working, document updating correctly.