fix api usage in readme