readme updated for api