Update documentation with new API