change to v2 sdk