update readme for new API