Updated documentation with latest API