fixed documentation to match the new data-api