Update dependencies
Add submit stats function to library