fixing the documentation with the new API info