update readme and api