update to api 3.0