updated api calls to match new URL scheme