Updated documentation with latest api changes