api details in readme corrected