update api to 3.0.0