Fixed the documentation to match current api
merging