updated README for new API