fixed api documentation in readme