update readme
change the api a bit