Update to v3 of api