updated base url from v1 to v2.