Updated the README to new API