updated readme for new API