update readme back and add api