update readme and api.doc