Added updated api-v2 and fixed url bug