update stat collection, add stat get