update README example and add a warning about API changes